public function buildParent() { if ($this->getModel()->getId() == 1) { return '<span class="input">' . Util\Lang::lang('home') . '</span>'; } $items = Service::renderList(); $disabled = []; $disabled[] = $this->getModel()->getId(); return Util\Form::buildDropdown('parentId' . $this->unique, $items, $this->getModel()->getParentId(), true, $disabled); }