getTemplateDirectory() 공개 메소드

Return the path to the template directory
public getTemplateDirectory ( ) : string
리턴 string The path to the template directory.
예제 #1
0
 public function run()
 {
     $script = $this->_config_application->getTemplateDirectory() . '/components.php';
     if (file_exists($script)) {
         include $script;
     } else {
         throw new Components_Exception(sprintf('The distribution specific helper script at "%s" is missing!', $script));
     }
 }
예제 #2
0
파일: CiSetup.php 프로젝트: horde/horde
 public function run()
 {
     $options = $this->_config->getOptions();
     $templates = new Components_Helper_Templates_RecursiveDirectory($this->_config_application->getTemplateDirectory(), $options['cisetup']);
     $templates->write(array('config' => $this->_config));
 }