Example #1
0
 /**
  * Gets specified controller instance
  *
  * @param string $controllerName Controller name
  * @return Controller
  * @throws ControllerNotFoundException if controller does not exist
  */
 public function getControllerInstance($controllerName)
 {
     if (substr($controllerName, 0, 8) == 'backend.') {
         $this->isBackend = true;
     }
     return parent::getControllerInstance($controllerName);
 }