Ejemplo n.º 1
0
 /**
  * When a master view is created, it is passed its
  * script immediately, but its script path is
  * in a different location
  *
  * @param unknown_type $viewFile
  */
 public function __construct($script = '', $path = 'views/layouts')
 {
     parent::__construct($script);
     $this->setViewFile('layouts/' . $script);
     // $this->setScriptPath(APP_DIR.'/'.$path);
 }