Ejemplo n.º 1
0
 public function isDispatchable($controller)
 {
     $className = $this->formatControllerName($controller);
     if (class_exists($className, false)) {
         return true;
     }
     $fileSpec = $this->classToFilename($className);
     $dispatchDir = $this->getDispatchDirectory();
     $test = $dispatchDir . DIRECTORY_SEPARATOR . $fileSpec;
     return JO_Loader::isReadable($test);
 }