wCMF
3.6
|
Public Member Functions | |
& | getInstance () |
& | processAction (&$request) |
reset () | |
Public Attributes | |
$_controllerDelegate = null | |
$_lastControllers = array() | |
ActionMapper is the central class in our implementation of the mvc pattern. It calls the different Controllers based on the referring Controller and the given action.
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.
Definition at line 39 of file class.ActionMapper.php.
& ActionMapper::getInstance | ( | ) |
Returns an instance of the class.
Definition at line 48 of file class.ActionMapper.php.
Referenced by processAction(), and reset().
& ActionMapper::processAction | ( | & | $request | ) |
Process an action depending on a given referrer. The ActionMapper will instantiate the required Controller class as configured in the iniFile and delegates the request to it.
request | A reference to a Request instance |
Definition at line 65 of file class.ActionMapper.php.
References Log\debug(), Formatter\deserialize(), Log\error(), Message\get(), WCMFInifileParser\getInstance(), ObjectFactory\getInstance(), getInstance(), RightsManager\getInstance(), Log\isDebugEnabled(), Request\setResponseFormat(), WCMFException\throwEx(), and Log\warn().
Referenced by MultipleActionController\executeKernel().
ActionMapper::reset | ( | ) |
Reset the state of ActionMapper to initial. Especially clears the processed controller queue.
Definition at line 209 of file class.ActionMapper.php.
References getInstance().
ActionMapper::$_controllerDelegate = null |
Definition at line 41 of file class.ActionMapper.php.
ActionMapper::$_lastControllers = array() |
Definition at line 42 of file class.ActionMapper.php.