예제 #1
0
파일: Theme.php 프로젝트: skelpo/framework
 /**
  * Returns the paths to this theme.
  *
  * @return string[]
  */
 public function getPaths()
 {
     $paths = array();
     $baseDir = $this->kernel->getThemeDir();
     $themes = $this->getThemeHierachy();
     foreach ($themes as $theme) {
         $paths[] = $baseDir . $theme . "/";
     }
     return $paths;
 }
예제 #2
0
 /**
  * Returns the theme dir.
  *
  * @return string
  */
 public function getThemeDir()
 {
     return $this->kernel->getThemeDir();
 }