protected function _emulateController($module, $action = 'index') { $app = new \core\FrontendApplication(); $emulatedController = $app->buildController($module, $action); return $emulatedController; }