function registerControllers (ModuleInfo $moduleInfo, array $mappings)
  {
    $ctr =& $this->controllers;
    foreach ($mappings as $path => $class) {
      $path       = "$moduleInfo->path/{$this->viewEngineSettings->moduleViewsPath()}/$path";
      $ctr[$path] = $class;
    }
    return $this;
  }
function registerControllers (ModuleInfo $moduleInfo, array $mappings)
  {
    $ctr =& $this->controllers;
    foreach ($mappings as $path => $class) {
      $path       = "$moduleInfo->path/{$this->viewEngineSettings->moduleViewsPath()}/$path";
      $ctr[$path] = $class;
    }
    return $this;
  }
function registerControllers ( ModuleInfo $ moduleInfo , array $ mappings ) { $ ctr = & $ this -> controllers ; foreach ( $ mappings as $ path => $ class ) { $ path = "$moduleInfo->path/{$this->viewEngineSettings->moduleViewsPath()}/$path" ; $ ctr [ $ path ] = $ class ; } return $ this ; }
Registers a map of relative view file paths to PHP controller class names.

<p>The array keys are file paths which, by default, are relative to the current module's views directory.

@param ModuleInfo $moduleInfo
@param array      $mappings
@return $this
Registers a map of relative view file paths to PHP controller class names .