[ Index ] |
PHP Cross Reference of Phabricator |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 629 lines (17 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
__construct($host, $path) X-Ref |
setURIMap(array $uri_data) X-Ref |
No description |
getURIMap() X-Ref |
No description |
getURIData($key, $default = null) X-Ref |
No description |
setApplicationConfiguration($application_configuration) X-Ref |
No description |
getApplicationConfiguration() X-Ref |
No description |
setPath($path) X-Ref |
No description |
getPath() X-Ref |
No description |
getHost() X-Ref |
No description |
setRequestData(array $request_data) X-Ref |
getRequestData() X-Ref |
getInt($name, $default = null) X-Ref |
getBool($name, $default = null) X-Ref |
getStr($name, $default = null) X-Ref |
getArr($name, $default = array() X-Ref |
getStrList($name, $default = array() X-Ref |
getExists($name) X-Ref |
getFileExists($name) X-Ref |
No description |
isHTTPGet() X-Ref |
No description |
isHTTPPost() X-Ref |
No description |
isAjax() X-Ref |
No description |
isJavelinWorkflow() X-Ref |
No description |
isConduit() X-Ref |
No description |
getCSRFTokenName() X-Ref |
No description |
getCSRFHeaderName() X-Ref |
No description |
validateCSRF() X-Ref |
No description |
isFormPost() X-Ref |
No description |
isFormOrHisecPost() X-Ref |
No description |
setCookiePrefix($prefix) X-Ref |
No description |
getPrefixedCookieName($name) X-Ref |
No description |
getCookie($name, $default = null) X-Ref |
No description |
clearCookie($name) X-Ref |
No description |
getCookieDomainURI() X-Ref |
Get the domain which cookies should be set on for this request, or null if the request does not correspond to a valid cookie domain. return: PhutilURI|null Domain URI, or null if no valid domain exists. |
canSetCookies() X-Ref |
Determine if security policy rules will allow cookies to be set when responding to the request. return: bool True if setCookie() will succeed. If this method returns |
setCookie($name, $value) X-Ref |
Set a cookie which does not expire for a long time. To set a temporary cookie, see @{method:setTemporaryCookie}. param: string Cookie name. param: string Cookie value. return: this |
setTemporaryCookie($name, $value) X-Ref |
Set a cookie which expires soon. To set a durable cookie, see @{method:setCookie}. param: string Cookie name. param: string Cookie value. return: this |
setCookieWithExpiration($name,$value,$expire) X-Ref |
Set a cookie with a given expiration policy. param: string Cookie name. param: string Cookie value. param: int Epoch timestamp for cookie expiration. return: this |
setUser($user) X-Ref |
No description |
getUser() X-Ref |
No description |
getViewer() X-Ref |
No description |
getRequestURI() X-Ref |
No description |
isDialogFormPost() X-Ref |
No description |
getRemoteAddr() X-Ref |
No description |
isHTTPS() X-Ref |
No description |
isContinueRequest() X-Ref |
No description |
isPreviewRequest() X-Ref |
No description |
getPassthroughRequestParameters() X-Ref |
Get application request parameters in a flattened form suitable for inclusion in an HTTP request, excluding parameters with special meanings. This is primarily useful if you want to ask the user for more input and then resubmit their request. return: dict<string, string> Original request parameters. |
getPassthroughRequestData() X-Ref |
Get request data other than "magic" parameters. return: dict<string, wild> Request data, with magic filtered out. |
flattenData(array $data) X-Ref |
Flatten an array of key-value pairs (possibly including arrays as values) into a list of key-value pairs suitable for submitting via HTTP request (with arrays flattened). param: dict<string, wild> Data to flatten. return: dict<string, string> Flat data suitable for inclusion in an HTTP |
getHTTPHeader($name, $default = null, $data = null) X-Ref |
Read the value of an HTTP header from `$_SERVER`, or a similar datasource. This function accepts a canonical header name, like `"Accept-Encoding"`, and looks up the appropriate value in `$_SERVER` (in this case, `"HTTP_ACCEPT_ENCODING"`). param: string Canonical header name, like `"Accept-Encoding"`. param: wild Default value to return if header is not present. param: array? Read this instead of `$_SERVER`. return: string|wild Header value if present, or `$default` if not. |
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |