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 $_defaultAction = 'index'
Default action
string $_defaultController = 'index'
Default controller
string $_defaultModule = 'default'
Default module
Zend_Controller_Front $_frontController = ''
Front Controller instance
array $_invokeParams = 'array'
Array of invocation parameters to use when instantiating action controllers
string $_pathDelimiter = '_'
Path delimiter character
Zend_Controller_Response_Abstract|null $_response = 'null'
Response object to pass to action controllers, if any
array $_wordDelimiter = 'array'
Word delimiter characters
__construct(
$params
=
array
)
:
void
Constructor
_formatName(
string $unformatted, boolean $isAction
=
false
)
:
string
Formats a string from a URI into a PHP-friendly name.
By default, replaces words separated by the word separator character(s) with camelCaps. If $isAction is false, it also preserves replaces words separated by the path separation character with an underscore, making the following word Title cased. All non-alphanumeric characters are removed.
_verifyDelimiter(
string|array $spec
)
:
array
Verify delimiter
Verify a delimiter to use in controllers or actions. May be a single string or an array of strings.
clearParams(
null|string|array $name
=
null
)
:
Zend_Controller_Dispatcher_Abstract
Clear the controller parameter stack
By default, clears all parameters. If a parameter name is given, clears only that parameter; if an array of parameter names is provided, clears each.
formatActionName(
string $unformatted
)
:
string
Formats a string into an action name. This is used to take a raw action name, such as one that would be stored inside a Zend_Controller_Request_Abstract object, and reformat into a proper method name that would be found inside a class extending Zend_Controller_Action.
formatControllerName(
string $unformatted
)
:
string
Formats a string into a controller name. This is used to take a raw controller name, such as one stored inside a Zend_Controller_Request_Abstract object, and reformat it to a proper class name that a class extending Zend_Controller_Action would use.
getDefaultAction(
)
:
string
Retrieve the default action name (minus formatting)
getDefaultControllerName(
)
:
string
Retrieve the default controller name (minus formatting)
getDefaultModule(
)
:
string
Retrieve the default module
getFrontController(
)
:
Zend_Controller_Front
Retrieve front controller instance
getParam(
string $name
)
:
mixed
Retrieve a single parameter from the controller parameter stack
getParams(
)
:
array
Retrieve action controller instantiation parameters
getPathDelimiter(
)
:
array
Retrieve the path delimiter character(s) used in controller names
getResponse(
)
:
Zend_Controller_Response_Abstract|null
Return the registered response object
getWordDelimiter(
)
:
array
Retrieve the word delimiter character(s) used in controller or action names
setDefaultAction(
string $action
)
:
Zend_Controller_Dispatcher_Abstract
Set the default action (minus any formatting)
setDefaultControllerName(
string $controller
)
:
Zend_Controller_Dispatcher_Abstract
Set the default controller (minus any formatting)
setDefaultModule(
string $module
)
:
Zend_Controller_Dispatcher_Abstract
Set the default module
setFrontController(
Zend_Controller_Front $controller
)
:
Zend_Controller_Dispatcher_Abstract
Set front controller instance
setParam(
string $name, mixed $value
)
:
Zend_Controller_Dispatcher_Abstract
Add or modify a parameter to use when instantiating an action controller
setParams(
array $params
)
:
Zend_Controller_Dispatcher_Abstract
Set parameters to pass to action controller constructors
setPathDelimiter(
string $spec
)
:
Zend_Controller_Dispatcher_Abstract
Set path delimiter
Set the path delimiter to use in controllers. May be a single string or an array of strings.
setResponse(
Zend_Controller_Response_Abstract|null $response
=
null
)
:
Zend_Controller_Dispatcher_Abstract
Set response object to pass to action controllers
setWordDelimiter(
string|array $spec
)
:
Zend_Controller_Dispatcher_Abstract
Set word delimiter
Set the word delimiter to use in controllers and actions. May be a single string or an array of strings.