Method |
Description |
|
customDispatcher ( string $className, string $action, array $params ) : Dispatcher |
Creates a Dispatcher instance from a class name. |
|
getAction ( ) : string |
Returns action name. |
|
getClassName ( ) : string |
Returns the current class name. |
|
getController ( ) : string |
Returns the controller name. |
|
getModule ( ) : string |
Returns the module name. |
|
getParams ( ) : array |
Returns the current list of parameters. |
|
issueCallback ( ) |
Calls the defined action on the current class name, passing along the parameters. |
|
mvcDispatcher ( string $module, string $controller, string $action, array $params ) : Dispatcher |
Creates a Dispatcher instance from MVC parameters. |
|
setAction ( string $action ) |
Sets the action name. |
|
setClassName ( string $className ) |
Sets the class name. Note, this will overwrite the current class name, also valid in case of MVC callback. |
|
setController ( string $controller ) |
Sets the controller name. |
|
setModule ( string $module ) |
Sets the module name. |
|
setParams ( array $params ) |
Sets the callback parameters. |
|