Controller/ModuleController.php
public function executeAction()
    {
        $moduleClass = $this->get('request')->get('_module.module');
        $actionName = $this->get('request')->get('_module.action');

        $module = $this->get('module_manager')->get($moduleClass);
        foreach ($module->getControllerPreExecutes() as $controllerPreExecute) {
            if (null !== $retval = call_user_func($controllerPreExecute, $module)) {
                return $retval;
            }
        }

        return $module->getAction($actionName)->executeController();
    }
public function executeAction()
    {
        $moduleClass = $this->get('request')->get('_module.module');
        $actionName = $this->get('request')->get('_module.action');

        $module = $this->get('module_manager')->get($moduleClass);
        foreach ($module->getControllerPreExecutes() as $controllerPreExecute) {
            if (null !== $retval = call_user_func($controllerPreExecute, $module)) {
                return $retval;
            }
        }

        return $module->getAction($actionName)->executeController();
    }
public function executeAction ( ) { $ moduleClass = $ this -> get ( 'request' ) -> get ( '_module.module' ) ; $ actionName = $ this -> get ( 'request' ) -> get ( '_module.action' ) ; $ module = $ this -> get ( 'module_manager' ) -> get ( $ moduleClass ) ; foreach ( $ module -> getControllerPreExecutes ( ) as $ controllerPreExecute ) { if ( null !== $ retval = call_user_func ( $ controllerPreExecute , $ module ) ) { return $ retval ; } } return $ module -> getAction ( $ actionName ) -> executeController ( ) ; }
Executes an action.
Executes an action .