Class jCmdLineRequest

Description

a request object for scripts used in a command line

Located in /core/request/jCmdLineRequest.class.php (line 21)

jRequest
   |
   --jCmdLineRequest
Variable Summary
Method Summary
jCmdLineRequest __construct ([boolean $onlyDefaultAction = false])
void isAllowedResponse ( $respclass)
void _initParams ()
void _initUrlData ()
Variables
mixed $defaultResponseType = 'cmdline' (line 25)
  • access: public

Redefinition of:
jRequest::$defaultResponseType
the type of the default response
mixed $onlyDefaultAction = false (line 27)
  • access: protected
mixed $type = 'cmdline' (line 23)
  • access: public

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

Inherited Variables

Inherited from jRequest

jRequest::$params
jRequest::$urlPathInfo
jRequest::$urlScript
jRequest::$urlScriptName
jRequest::$urlScriptPath
Methods
Constructor __construct (line 36)

If you want to have a CLI script dedicated to the default action, tell it by given true, so you haven't to indicate the action on the command line. It means of course you couldn't execute any other actions with this script.

jCmdLineRequest __construct ([boolean $onlyDefaultAction = false])
  • boolean $onlyDefaultAction

Redefinition of:
jRequest::__construct()
isAllowedResponse (line 40)
  • access: public
void isAllowedResponse ( $respclass)
  • $respclass

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

Redefinition of:
jRequest::_initParams()
analyse the http request and sets the params property
_initUrlData (line 44)
  • access: protected
void _initUrlData ()

Redefinition of:
jRequest::_initUrlData()
init the url* properties

Inherited Methods

Inherited From jRequest

jRequest::__construct()
jRequest::getParam()
jRequest::getResponse()
jRequest::init()
jRequest::isAllowedResponse()
jRequest::_initParams()
jRequest::_initUrlData()

Documentation generated on Thu, 22 Mar 2012 22:14:09 +0100 by phpDocumentor 1.4.3