/** * Load action view */ public function __loadView() { if ($this->_renderView) { $controller = $this->request->getControllerName(); $action = null === $this->_useView ? $this->request->getActionName() : $this->_useView; // Load template from current view $this->view->loadView($action, $controller); } }