wCMF
3.6
|
Public Member Functions | |
postInitialize (&$controller) | |
validate (&$controller) | |
preExecute (&$controller) | |
postExecute (&$controller, $result) | |
assignAdditionalViewValues (&$controller) | |
ControllerDelegate is used to define an interface to vary the behaviour of the Controller base class. The methods are called by the Controller base class on defined variation points and get the currently executed controller as parameter.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Users may implement special application requirements by subclassing ControllerDelegate and configuring its usage in the configuration section 'implementation', key 'ControllerDelegate'. If no ControllerDelegate is configured, none is used. e.g.
Definition at line 44 of file class.ControllerDelegate.php.
ControllerDelegate::postInitialize | ( | & | $controller | ) |
This method is called after the base class initialize method.
controller | The currently executed controller |
Definition at line 51 of file class.ControllerDelegate.php.
References WCMFException\throwEx().
ControllerDelegate::validate | ( | & | $controller | ) |
This method is called instead of the base class method.
controller | The currently executed controller |
Definition at line 61 of file class.ControllerDelegate.php.
References WCMFException\throwEx().
ControllerDelegate::preExecute | ( | & | $controller | ) |
This method is called after validation and before the base class execute method
controller | The currently executed controller |
Definition at line 70 of file class.ControllerDelegate.php.
References WCMFException\throwEx().
ControllerDelegate::postExecute | ( | & | $controller, |
$result | |||
) |
This method is called after the base class execute method.
controller | A reference to the currently executed controller |
result | The result of Controller::executeKernel |
Definition at line 81 of file class.ControllerDelegate.php.
References WCMFException\throwEx().
ControllerDelegate::assignAdditionalViewValues | ( | & | $controller | ) |
Assign additional variables to the view. This method is called after the base class assignViewDefaults method.
controller | The currently executed controller |
Definition at line 90 of file class.ControllerDelegate.php.
References WCMFException\throwEx().