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; }
protected function importView(View $view) { $view->setRoute($this); return $this->importComponent($view); }