Ejemplo n.º 1
0
 protected function _actionRead(Library\CommandContext $context)
 {
     $name = ucfirst($this->getView()->getName());
     if (!$this->getModel()->getState()->isUnique()) {
         throw new Library\ControllerExceptionNotFound($name . ' Not Found');
     }
     return parent::_actionRead($context);
 }