wcmf logo wemove logo

ActionMapper Class Reference
[Presentation]

ActionMapper is the central class in our implementation of the mvc pattern. It calls the different Controllers based on the sreferring Controller and the given action. More...


Public Member Functions

processAction (&$request)

Detailed Description

ActionMapper is the central class in our implementation of the mvc pattern. It calls the different Controllers based on the sreferring Controller and the given action.

Author:
ingo herwig <ingo@wemove.com>

Definition at line 42 of file class.ActionMapper.php.


Member Function Documentation

& 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.

Note:
This method is static so that it can be used without an instance. (This is necessary to call it in onError() which cannot be a class method because php's set_error_handler() does not allow this).
Parameters:
request A reference to a Request instance
Returns:
A reference to an Response instance or null on error.

Definition at line 52 of file class.ActionMapper.php.

References $gControllerDelegate, Log::debug(), Formatter::deserialize(), Log::error(), Message::get(), ObjectFactory::getInstance(), RightsManager::getInstance(), WCMFInifileParser::getInstance(), Log::isDebugEnabled(), WCMFException::throwEx(), and Log::warn().

Referenced by MultipleActionController::executeKernel().

Here is the call graph for this function:


The documentation for this class was generated from the following file:

This page generated via doxygen 1.5.8 Mon Mar 30 01:58:42 2009.
Copyright © 2009 wemove digital solutions GmbH.
sourceforge logo