Ejemplo n.º 1
0
 public function initView()
 {
     $view = parent::initView();
     if (isset($this->session)) {
         $view->session = $this->session;
     }
     return $view;
 }
Ejemplo n.º 2
0
 /**
  * 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;
 }