Exemple #1
0
 /**
  * Get an instance of the view script class for the controller name given in the parameter
  * 
  * @param string $controllerName
  * @param string $subdir
  * @return ViewScript
  */
 protected function _getViewScriptInstance($controllerName, $subdir)
 {
     $className = NameManager::convertControllerToViewClass($controllerName);
     $ins = Loader::getViewScriptInstance($className, $subdir);
     return $ins;
 }