Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
string $_action = ''
Action
string $_actionKey = 'action'
Action key for retrieving action from params
string $_controller = ''
Controller
string $_controllerKey = 'controller'
Controller key for retrieving controller from params
boolean $_dispatched = 'false'
Has the action been dispatched?
string $_module = ''
Module
string $_moduleKey = 'module'
Module key for retrieving module from params
array $_params = 'array'
Request parameters
clearParams(
)
:
Zend_Controller_Request_Abstract
Unset all user parameters
getActionKey(
)
:
string
Retrieve the action key
getActionName(
)
:
string
Retrieve the action name
getControllerKey(
)
:
string
Retrieve the controller key
getControllerName(
)
:
string
Retrieve the controller name
getModuleKey(
)
:
string
Retrieve the module key
getModuleName(
)
:
string
Retrieve the module name
getParam(
string $key, mixed $default
=
null
)
:
mixed
Get an action parameter
getParams(
)
:
array
Get all action parameters
getUserParam(
string $key, string $default
=
null
)
:
mixed
Retrieve a single user param (i.e, a param specific to the object and not the environment)
getUserParams(
)
:
array
Retrieve only user params (i.e, any param specific to the object and not the environment)
isDispatched(
)
:
boolean
Determine if the request has been dispatched
setActionKey(
string $key
)
:
Zend_Controller_Request_Abstract
Set the action key
setActionName(
string $value
)
:
Zend_Controller_Request_Abstract
Set the action name
setControllerKey(
string $key
)
:
Zend_Controller_Request_Abstract
Set the controller key
setControllerName(
string $value
)
:
Zend_Controller_Request_Abstract
Set the controller name to use
setDispatched(
boolean $flag
=
true
)
:
Zend_Controller_Request_Abstract
Set flag indicating whether or not request has been dispatched
setModuleKey(
string $key
)
:
Zend_Controller_Request_Abstract
Set the module key
setModuleName(
string $value
)
:
Zend_Controller_Request_Abstract
Set the module name to use
setParam(
string $key, mixed $value
)
:
Zend_Controller_Request_Abstract
Set an action parameter
A $value of null will unset the $key if it exists
setParams(
array $array
)
:
Zend_Controller_Request_Abstract
Set action parameters en masse; does not overwrite
Null values will unset the associated key.