protected function get_path() { $paths = array(CMS::current_component_dir('app/views'), CMS::current_component_dir('views')); return Templates::get_path($this->name, $this->extension, $paths); }
/** * Возвращает путь до шаблона * * @return string */ protected function get_path() { return Templates::get_path($this->name, $this->extension); }
/** * @param string $name */ static function view($name) { return Templates::get_path($name); }