public function initView() { $view = parent::initView(); if (isset($this->session)) { $view->session = $this->session; } return $view; }
/** * Initialize view setting * * @access protected * @return Gene_Controller_Action_Abstract Fluent interface */ private function _initView() { if ($this->view instanceof Zend_View) { parent::initView(); } return $this; }