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