Example #1
0
 protected function buildCrudView(crud\View $view)
 {
     $doc = $view->asDocument();
     $file = $this->getPathFile($view);
     $this->setView($view);
     $this->setReturn(null);
     try {
         $result = parent::buildView($doc, $file);
     } catch (core\exception $e) {
         $e->addPath('@view ' . $view->getAlias());
         $this->loadLog();
         throw $e;
     }
     return $result;
 }