public static function get_template($name) { $t = \Core\Template::create(); $t->_jsapps = array(); $t->set_file(sprintf("%s/plugins/%s/templates/%s", CORE_PATH, static::plugin_name(), $name), True); return $t; }
protected function _init_template() { $t = \Core\Template::create(); $t['__uri__'] = $this->_args['__uri__']; $t->_jsapps = array(); $this->_template = $t; }
protected function _init_template() { $t = \Core\Template::create(); $t->_jsapps = array(); $this->_template = $t; }