Exemple #1
0
 /**
  * Get an instance of the controller class for the controller name given in the parameter
  * 
  * @param string $controllerName
  * @param string $subdir
  * @return Controller
  */
 protected function _getControllerInstance($controllerName, $subdir)
 {
     $className = NameManager::convertControllertoClass($controllerName);
     $ins = Loader::getControllerInstance($className, $subdir);
     return $ins;
 }