public static function set($key, $value = '', $time = 0, $path = '/', $domain = '', $secure = FALSE, $httponly = FALSE) {
        return setcookie($key, self::encode($value), time() + $time, $path, $domain, $secure, $httponly);
    }
public static function set($key, $value = '', $time = 0, $path = '/', $domain = '', $secure = FALSE, $httponly = FALSE) {
        return setcookie($key, self::encode($value), time() + $time, $path, $domain, $secure, $httponly);
    }
public static function set ( $ key , $ value = '' , $ time = 0 , $ path = '/' , $ domain = '' , $ secure = FALSE , $ httponly = FALSE ) { return setcookie ( $ key , self :: encode ( $ value ) , time ( ) + $ time , $ path , $ domain , $ secure , $ httponly ) ; }
Sets cookie data by given key

@param string $key
@param string $value
@param integer $time
@param string $path
@param string $domain
@param boolean $secure
@param boolean $httponly
@return bool
Sets cookie data by given key