Beispiel #1
0
 /**
  * Forward to the component
  *
  * @param Library\CommandContext $context	A command context object
  * @throws	\UnexpectedValueException	If the dispatcher doesn't implement the DispatcherInterface
  */
 protected function _actionForward(Library\CommandContext $context)
 {
     //Set the controller to dispatch
     $extension = (string) $context->param;
     if (!$this->getObject('application.extensions')->isEnabled($extension)) {
         throw new Library\ControllerExceptionNotFound('Extension Not Enabled');
     }
     parent::_actionForward($context);
 }