示例#1
0
文件: View.php 项目: techart/tao
 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);
 }
示例#2
0
文件: Templates.php 项目: techart/tao
 /**
  * Возвращает путь до шаблона
  *
  * @return string
  */
 protected function get_path()
 {
     return Templates::get_path($this->name, $this->extension);
 }
示例#3
0
文件: CMS.php 项目: techart/tao
 /**
  * @param string $name
  */
 static function view($name)
 {
     return Templates::get_path($name);
 }