Exemple #1
0
 function __construct($vars = array())
 {
     // defaults
     $this->vars = array("body" => "", "_page" => array("view" => ""));
     $this->client = array();
     $this->vars = array_merge($this->vars, $vars);
     $this->hash = $this->getHash("", $vars);
     $file = $this->getTemplate();
     parent::__construct($file, $this->vars);
 }
Exemple #2
0
 function __construct($file = '', $vars = '')
 {
     $file = getPath('views/' . $file);
     return parent::__construct($file, $vars);
 }
 function __construct($file = '', $vars = '')
 {
     $file = VIEW_PATH . $file;
     return parent::__construct($file, $vars);
 }