private function performSaveForm(ilPropertyFormGUI $form) { $online = $form->getItemByPostVar('online'); $this->poolOBJ->setOnline($online->getChecked()); $showTax = $form->getItemByPostVar('show_taxonomies'); $this->poolOBJ->setShowTaxonomies($showTax->getChecked()); $navTax = $form->getItemByPostVar('nav_taxonomy'); $this->poolOBJ->setNavTaxonomyId($navTax->getValue()); $this->poolOBJ->saveToDb(); }
private function performSaveForm(ilPropertyFormGUI $form) { $online = $form->getItemByPostVar('online'); $this->poolOBJ->setOnline($online->getChecked()); $showTax = $form->getItemByPostVar('show_taxonomies'); $this->poolOBJ->setShowTaxonomies($showTax->getChecked()); $navTax = $form->getItemByPostVar('nav_taxonomy'); $this->poolOBJ->setNavTaxonomyId($navTax->getValue()); if ($this->formPropertyExists($form, 'skill_service')) { $skillService = $form->getItemByPostVar('skill_service'); $this->poolOBJ->setSkillServiceEnabled($skillService->getChecked()); } $this->poolOBJ->saveToDb(); }