コード例 #1
0
ファイル: PlayerController.php プロジェクト: neffers/Nefcraft
 public function initView()
 {
     $view = parent::initView();
     if (isset($this->session)) {
         $view->session = $this->session;
     }
     return $view;
 }
コード例 #2
0
ファイル: Abstract.php プロジェクト: heavenshell/gene
 /**
  * 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;
 }