Exemplo n.º 1
0
 /**
  * @return string
  */
 public function classNameTo_URI($className)
 {
     if (AbstractService::isSubclass($className)) {
         return $this->toService_URI($className);
     } else {
         if (MVC\Controller\Action\AbstractAction::isSubclass($className)) {
             return $this->toAction_URI($className);
         } else {
             if (MVC\Controller\AbstractController::isSubclass($className)) {
                 return $this->toController_URI($className);
             } else {
                 if (MVC\Controller\AbstractFrontController::isSubclass($className)) {
                     return $this->toFrontController_URI($className);
                 } else {
                     return null;
                 }
             }
         }
     }
 }