FOFController::execute
Executes a given controller task. The onBefore<task> and onAfter<task> methods are called automatically if they exist.
Signature
public function execute(string
$taskĀ )
Parameters
-
$task
- The task to execute, e.g. "browse"
Returns
- null|bool
- False on execution failure
Errors/Exceptions
-
Exception
- Exception thrown if the onBefore<task> returns false