Beispiel #1
0
 /**
  * set_templates
  * Interface for setting templates
  *
  * @param mixed $list Template (or array of templates, in order of preference) to use for page render
  * @return void
  */
 public static function set_templates($list, $location = false)
 {
     self::$_templates = $list;
     self::$_template_location = $location ? $location : Path::assemble(BASE_PATH, Config::getTemplatesPath(), 'templates');
 }
Beispiel #2
0
Datei: view.php Projekt: nob/joi
 /**
  * set_templates
  * Interface for setting templates
  *
  * @param mixed  $list  Template (or array of templates, in order of preference) to use for page render
  * @return void
  */
 public static function set_templates($list)
 {
     self::$_templates = $list;
 }