ControllerInterface
in
Pop controller interface
Tags
Table of Contents
- dispatch() : void
- Dispatch the controller based on the action
- getDefaultAction() : string
- Get the default action
- setDefaultAction() : ControllerInterface
- Set the default action
Methods
dispatch()
Dispatch the controller based on the action
public
dispatch(string $action[, array<string|int, mixed> $params = null ]) : void
Parameters
- $action : string
- $params : array<string|int, mixed> = null
Tags
Return values
void —getDefaultAction()
Get the default action
public
getDefaultAction() : string
Return values
string —setDefaultAction()
Set the default action
public
setDefaultAction(string $default) : ControllerInterface
Parameters
- $default : string