/** * 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'); }
/** * 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; }