protected function updateTaxonomySettingsObject() { $taxonomies = $this->getTaxonomiesForRefId(); if (sizeof($taxonomies)) { $form = $this->initTaxonomyForm($taxonomies); if ($form->checkInput()) { $sblock = $form->getInput("sblock"); $prefix = self::CONTAINER_SETTING_TAXBLOCK; ilContainer::_deleteContainerSettings($this->object->getId(), $prefix . "%", true); if (is_array($sblock)) { foreach ($sblock as $tax_id) { ilContainer::_writeContainerSetting($this->object->getId(), $prefix . $tax_id, 1); } } ilUtil::sendSuccess($this->lng->txt("settings_saved"), true); } } $this->ctrl->redirect($this, "editTaxonomySettings"); }