base class for object which retrieve all parameters of an http request. The process depends on the type of request (ex: xmlrpc..)
Located in /core/jRequest.class.php (line 20)
Class | Description |
---|---|
jXulRequest | Handle a request which needs absolutely a XUL content as response. |
jSoapRequest | handle a soap call. The response has to be a soap response. |
jClassicRequest | handle "classical" request it just gets parameters from the url query and the post content. And responses can be in many format : text, html, xml... |
jCmdLineRequest | a request object for scripts used in a command line |
jRdfRequest | Handle a request which needs a RDF content as response. |
jXmlRpcRequest | handle XML-rpc call. The response has to be a xml-rpc response. |
jJsonRpcRequest | handle a JSON-rpc call. The response has to be a json rpc response. |
jCssRequest | handle classical request but only to control and produce css content |
the action name ("controller:method")
the type of the default response
the module name
request parameters
could set from $_GET, $_POST, or from data processing of $HTTP_RAW_POST_DATA
the pathinfo part of the url
if the url is /foo/index.php/bar, its value is /bar
the path to the entry point in the url if the url is /foo/index.php/bar, its value is /foo/index.php.
Warning: if the app is behind a proxy, the path includes the backendBasePath, not the basePath. Use urlScriptPath and urlScriptName to have the "public" url, as needed for the frontend HTTP server
the name of the entry point
if the url is /foo/index.php/bar, its value is index.php
the path of the entry point in the url (basePath included)
if the url is /foo/index.php/bar, its value is /foo/
return the ip address of the user
retrieve module and action
fills also $module and $action properties
Gets the value of a request parameter. If not defined, gets its default value.
return the server port of the application
get a response object.
return the server URI of the application (protocol + server name + port)
initialize the request : analyse of http request etc..
call it when you want to read the content of the body of a request
when the method is not GET or POST
analyse the http request and sets the params property
Documentation generated on Mon, 26 Oct 2015 21:55:22 +0100 by phpDocumentor 1.4.3