예제 #1
0
 public static function ScanViews()
 {
     self::$Views = array();
     foreach (glob(PathDriver::$ROOT_DIR . PathDriver::VIEWS . "*[A-Za-z]View") as $value) {
         $name = str_replace(PathDriver::$ROOT_DIR . PathDriver::VIEWS, "", $value);
         self::$Views[] = $name;
     }
 }