/** * Method to render the view. * * @return string The rendered view. * * @throws RuntimeException */ public function render() { $this->item = $this->model->getClassification(); if ($this->getLayout() == null) { $this->setLayout('edit'); } $this->form = $this->model->getForm(); $this->addToolbar(); return parent::render(); }