protected function addCommandButtons() { if ($this->object->getId() > 0) { $this->addCommandButton(ilUserSettingsGUI::CMD_UPDATE, $this->pl->txt('form_button_update')); } else { $this->addCommandButton(ilUserSettingsGUI::CMD_CREATE, $this->pl->txt('form_button_create')); } $this->addCommandButton(ilUserSettingsGUI::CMD_CANCEL, $this->pl->txt('form_button_cancel')); }