Class jClassicRequest

Description

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...

Located in /core/request/jClassicRequest.class.php (line 19)

jRequest
   |
   --jClassicRequest
Variable Summary
Method Summary
jResponse getErrorResponse ( $currentResponse)
boolean isAllowedResponse (jResponse $response)
void _initParams ()
Variables
mixed $defaultResponseType = 'html' (line 23)
  • access: public

Redefinition of:
jRequest::$defaultResponseType
the type of the default response
mixed $type = 'classic' (line 21)
  • access: public

Redefinition of:
jRequest::$type
the request type code

Inherited Variables

Inherited from jRequest

jRequest::$action
jRequest::$authorizedResponseClass
jRequest::$module
jRequest::$params
jRequest::$urlPathInfo
jRequest::$urlScript
jRequest::$urlScriptName
jRequest::$urlScriptPath
Methods
getErrorResponse (line 44)
  • access: public
jResponse getErrorResponse ( $currentResponse)
  • $currentResponse

Redefinition of:
jRequest::getErrorResponse()
isAllowedResponse (line 77)
  • return: true if the given class is allowed for the current request
  • access: public
boolean isAllowedResponse (jResponse $response)

Redefinition of:
jRequest::isAllowedResponse()
_initParams (line 25)
  • access: protected
void _initParams ()

Redefinition of:
jRequest::_initParams()
analyse the http request and sets the params property

Inherited Methods

Inherited From jRequest

jRequest::__construct()
jRequest::getDomainName()
jRequest::getErrorResponse()
jRequest::getIP()
jRequest::getModuleAction()
jRequest::getParam()
jRequest::getPort()
jRequest::getProtocol()
jRequest::getResponse()
jRequest::getServerURI()
jRequest::header()
jRequest::headers()
jRequest::init()
jRequest::isAjax()
jRequest::isAllowedResponse()
jRequest::readHttpBody()
jRequest::_initParams()
jRequest::_initUrlData()

Documentation generated on Mon, 26 Oct 2015 21:51:59 +0100 by phpDocumentor 1.4.3