package | Zend_Controller |
---|---|
subpackage | Dispatcher |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
addControllerDirectory(string $path, string $args = null
) : \Zend_Controller_Dispatcher_Interface
string
string
\Zend_Controller_Dispatcher_Interface
clearParams($name = null
) : \Zend_Controller_Dispatcher_Interface
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.
\Zend_Controller_Dispatcher_Interface
dispatch(\Zend_Controller_Request_Abstract $request, \Zend_Controller_Response_Abstract $response) : void
\Zend_Controller_Request_Abstract
\Zend_Controller_Response_Abstract
formatActionName(string $unformatted) : string
string
string
formatControllerName(string $unformatted) : string
string
string
formatModuleName(string $unformatted) : string
string
string
getControllerDirectory() : array
array
getDefaultAction() : string
string
getDefaultControllerName() : string
string
getDefaultModule() : string
string
getParam(string $name) : mixed
string
mixed
getParams() : array
array
getResponse() : \Zend_Controller_Response_Abstract | null
\Zend_Controller_Response_Abstract
null
isDispatchable(\Zend_Controller_Request_Abstract $request) : boolean
\Zend_Controller_Request_Abstract
boolean
isValidModule(string $module) : boolean
string
boolean
setControllerDirectory($path) : \Zend_Controller_Dispatcher_Interface
Specify a string or an array; if an array is specified, all paths will be added.
\Zend_Controller_Dispatcher_Interface
setParam(string $name, mixed $value) : \Zend_Controller_Dispatcher_Interface
string
mixed
\Zend_Controller_Dispatcher_Interface
setParams(array $params) : \Zend_Controller_Dispatcher_Interface
array
\Zend_Controller_Dispatcher_Interface
setResponse(\Zend_Controller_Response_Abstract|null $response = null
) : void
\Zend_Controller_Response_Abstract
null