public static function AutoLoader($klass)
 {
     $parts = explode('\\', $klass);
     $path = null;
     if ($parts[0] != 'Web') {
         return;
     }
     $parts = array_slice($parts, 1);
     $cpath = DIRECTORY_SEPARATOR . 'Web.' . implode(DIRECTORY_SEPARATOR, $parts) . '.Class.php';
     $path = Core::$FrameworkIncludePath . $cpath;
     if (!file_exists($path)) {
         $path = self::$WebRoot . DIRECTORY_SEPARATOR . 'include' . $cpath;
     }
     if (!file_exists($path)) {
         NDebug::VerDump($path);
         Logger::Error('ERROR: class not found :' . $klass);
         return;
     }
     return require $path;
 }
 public static function GetControllerClass($name, $class)
 {
     if (empty($name) || empty($class)) {
         return false;
     }
     $sclass = '\\Web\\Controller\\' . $name . '\\' . $class . 'Controller';
     if (!class_exists($sclass)) {
         NDebug::VerDump($sclass);
         return false;
     }
     return $sclass;
 }