__construct() public method

Create view instance, initial default helper path
public __construct ( )
コード例 #1
0
ファイル: Layout.php プロジェクト: dezvell/mm.local
 /**
  * Layout constructor
  *  - init Layout helpers
  *  - call parent View constructor
  */
 public function __construct()
 {
     // init layout helper path
     $this->addHelperPath(dirname(__FILE__) . '/Helper/');
     // init view helper path
     parent::__construct();
 }