Phalcon\Http\RequestInterface initializer
Gets a variable from the $_REQUEST superglobal applying filters if needed
Gets a variable from the $_POST superglobal applying filters if needed
...
Gets variable from $_GET superglobal applying filters if needed
Gets variable from $_SERVER superglobal
Checks whether $_SERVER superglobal has certain index
Checks whether $_POST superglobal has certain index
...
Checks whether $_SERVER superglobal has certain index
Checks whether $_SERVER superglobal has certain index
Gets HTTP header from request data
Gets HTTP schema (http/https)
Checks whether request has been made using ajax. Checks if $_SERVER[‘HTTP_X_REQUESTED_WITH’]==’XMLHttpRequest’
Checks whether request has been made using SOAP
Checks whether request has been made using any secure layer
Gets HTTP raws request body
Gets active server address IP
Gets active server name
Gets information about schema, host and port used by the request
Gets most possibly client IPv4 Address. This methods search in $_SERVER[‘REMOTE_ADDR’] and optionally in $_SERVER[‘HTTP_X_FORWARDED_FOR’]
Gets HTTP method which request has been made
Gets HTTP user agent used to made the request
Check if HTTP method match any of the passed methods
Checks whether HTTP method is POST. if $_SERVER[‘REQUEST_METHOD’]==’POST’
Checks whether HTTP method is GET. if $_SERVER[‘REQUEST_METHOD’]==’GET’
Checks whether HTTP method is PUT. if $_SERVER[‘REQUEST_METHOD’]==’PUT’
Checks whether HTTP method is HEAD. if $_SERVER[‘REQUEST_METHOD’]==’HEAD’
Checks whether HTTP method is DELETE. if $_SERVER[‘REQUEST_METHOD’]==’DELETE’
Checks whether HTTP method is OPTIONS. if $_SERVER[‘REQUEST_METHOD’]==’OPTIONS’
Checks whether request include attached files
Gets attached files as Phalcon\Http\Request\FileInterface compatible instances
Gets web page that refers active request. ie: http://www.google.com
Gets array with mime/types and their quality accepted by the browser/client from $_SERVER[‘HTTP_ACCEPT’]
Gets best mime/type accepted by the browser/client from $_SERVER[‘HTTP_ACCEPT’]
Gets charsets array and their quality accepted by the browser/client from $_SERVER[‘HTTP_ACCEPT_CHARSET’]
Gets best charset accepted by the browser/client from $_SERVER[‘HTTP_ACCEPT_CHARSET’]
Gets languages array and their quality accepted by the browser/client from $_SERVER[‘HTTP_ACCEPT_LANGUAGE’]
Gets best language accepted by the browser/client from $_SERVER[‘HTTP_ACCEPT_LANGUAGE’]
© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Http_RequestInterface.html