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 type of the default response
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
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
if the url is /foo/index.php/bar, its value is /foo/
return the ip address of the user
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 Thu, 19 Sep 2013 00:06:28 +0200 by phpDocumentor 1.4.3