public function addTypeTask() { // New type $model = HubType::blank(); $this->view->model = $model->getStructure()->getTableColumns($model->getTableName()); // Display the view $this->view->setLayout('addHubType'); $this->view->display(); }