ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilObjectGUI $parent_gui, int $obj_id, array $modes) | |
Constructor. More... | |
executeCommand () | |
getModes () | |
Get active modes. More... | |
getObjId () | |
Get obj id. More... | |
Static Public Member Functions | |
static | initServiceSettingsForm (int $obj_id, ilPropertyFormGUI $form, array $services) |
static | updateServiceSettingsForm (int $obj_id, ilPropertyFormGUI $form, array $services) |
Data Fields | |
const | CALENDAR_CONFIGURATION = 'cont_cal_configuration' |
const | CALENDAR_VISIBILITY = 'cont_show_calendar' |
const | CALENDAR_ACTIVATION = 'cont_activation_calendar' |
const | NEWS_VISIBILITY = 'cont_show_news' |
const | USE_NEWS = 'cont_use_news' |
const | AUTO_RATING_NEW_OBJECTS = 'cont_auto_rate_new_obj' |
const | INFO_TAB_VISIBILITY = 'cont_show_info_tab' |
const | TAXONOMIES = 'cont_taxonomies' |
const | TAG_CLOUD = 'cont_tag_cloud' |
const | CUSTOM_METADATA = 'cont_custom_md' |
const | BADGES = 'cont_badges' |
const | ORGU_POSITION_ACCESS = 'obj_orgunit_positions' |
const | SKILLS = 'cont_skills' |
const | FILTER = 'filter' |
const | BOOKING = 'cont_bookings' |
const | EXTERNAL_MAIL_PREFIX = 'mail_external_prefix' |
Protected Member Functions | |
cancel () | |
editSettings (ilPropertyFormGUI $form=null) | |
Edit tool settings (calendar, news, comments, ...) More... | |
updateToolSettings () | |
Update settings. More... | |
isModeActive (string $mode) | |
Check if specific mode is active. More... | |
Protected Attributes | |
ilCtrl | $ctrl |
ilGlobalTemplateInterface | $main_tpl |
ilLanguage | $lng |
ilObjectGUI | $gui = null |
array | $modes = [] |
int | $obj_id = 0 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning GUI class for service settings (calendar, notes, comments)
Definition at line 30 of file class.ilObjectServiceSettingsGUI.php.
ilObjectServiceSettingsGUI::__construct | ( | ilObjectGUI | $parent_gui, |
int | $obj_id, | ||
array | $modes | ||
) |
Constructor.
Definition at line 66 of file class.ilObjectServiceSettingsGUI.php.
References $DIC, $obj_id, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
protected |
Definition at line 464 of file class.ilObjectServiceSettingsGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Edit tool settings (calendar, news, comments, ...)
ilPropertyFormGUI | $form |
Definition at line 473 of file class.ilObjectServiceSettingsGUI.php.
Referenced by updateToolSettings().
ilObjectServiceSettingsGUI::executeCommand | ( | ) |
Definition at line 81 of file class.ilObjectServiceSettingsGUI.php.
References ILIAS\Repository\ctrl().
ilObjectServiceSettingsGUI::getModes | ( | ) |
Get active modes.
Definition at line 451 of file class.ilObjectServiceSettingsGUI.php.
References $modes.
Referenced by isModeActive().
ilObjectServiceSettingsGUI::getObjId | ( | ) |
Get obj id.
Definition at line 459 of file class.ilObjectServiceSettingsGUI.php.
References $obj_id.
Referenced by updateToolSettings().
|
static |
Definition at line 88 of file class.ilObjectServiceSettingsGUI.php.
References $DIC, $GLOBALS, $ilSetting, $ref_id, ILIAS\LTI\ToolProvider\$settings, ilObject\_getAllReferences(), ilCalendarSettings\_getInstance(), ilContainer\_lookupContainerSetting(), ilObject\_lookupType(), ilPropertyFormGUI\addItem(), ilMembershipNotifications\addToSettingsForm(), ilOrgUnitGlobalSettings\getInstance(), ilBadgeHandler\getInstance(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), ilLanguage\loadLanguageModule(), ilCalendarSettings\lookupCalendarActivated(), ilCalendarSettings\lookupCalendarContentPresentationEnabled(), ilFormPropertyGUI\setInfo(), ilCheckboxInputGUI\setValue(), and ilLanguage\txt().
Referenced by ilObjBookingPoolGUI\addExternalEditFormCustom(), ilIndividualAssessmentCommonSettingsGUI\addServiceSettingsToForm(), ilStudyProgrammeCommonSettingsGUI\addServiceSettingsToForm(), ilObjTestSettingsGeneralGUI\buildForm(), ilObjPortfolioTemplateGUI\initEditCustomForm(), ilObjMediaPoolGUI\initEditCustomForm(), ilObjContentPageGUI\initEditCustomForm(), ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilObjSessionGUI\initForm(), ilObjContentObjectGUI\initPropertiesForm(), ilObjFileBasedLMGUI\initSettingsForm(), ilObjGlossaryGUI\initSettingsForm(), ilObjWikiGUI\initSettingsForm(), ilObjExerciseGUI\listAssignmentsObject(), and ILIAS\Survey\Settings\SettingsFormGUI\withOther().
|
protected |
Check if specific mode is active.
Definition at line 508 of file class.ilObjectServiceSettingsGUI.php.
References getModes().
Referenced by updateToolSettings().
|
static |
string[] | $services |
Definition at line 331 of file class.ilObjectServiceSettingsGUI.php.
References $ref_id, ilObject\_getAllReferences(), ilCalendarSettings\_getInstance(), ilObject\_lookupType(), ilContainer\_writeContainerSetting(), ilPropertyFormGUI\getInput(), ilOrgUnitGlobalSettings\getInstance(), ilBadgeHandler\getInstance(), and ilMembershipNotifications\importFromForm().
Referenced by ilObjTestSettingsGeneralGUI\performSaveForm(), ILIAS\Survey\Settings\SettingsFormGUI\saveForm(), ilObjSessionGUI\saveObject(), ilObjFileBasedLMGUI\saveProperties(), ilObjGlossaryGUI\saveProperties(), ilObjContentObjectGUI\saveProperties(), ilIndividualAssessmentCommonSettingsGUI\saveSettings(), ilStudyProgrammeCommonSettingsGUI\saveSettings(), ilObjWikiGUI\saveSettingsObject(), ilObjPortfolioTemplateGUI\updateCustom(), ilObjBookingPoolGUI\updateCustom(), ilObjExerciseGUI\updateCustom(), ilObjMediaPoolGUI\updateCustom(), ilObjContentPageGUI\updateCustom(), ilObjGroupGUI\updateObject(), ilObjCourseGUI\updateObject(), ilObjCategoryGUI\updateObject(), and ilObjSessionGUI\updateObject().
|
protected |
Update settings.
Definition at line 486 of file class.ilObjectServiceSettingsGUI.php.
References ilCalendarSettings\_getInstance(), ilContainer\_writeContainerSetting(), ILIAS\Repository\ctrl(), editSettings(), getObjId(), isModeActive(), and ILIAS\Repository\lng().
|
protected |
Definition at line 55 of file class.ilObjectServiceSettingsGUI.php.
|
protected |
Definition at line 59 of file class.ilObjectServiceSettingsGUI.php.
|
protected |
Definition at line 57 of file class.ilObjectServiceSettingsGUI.php.
|
protected |
Definition at line 56 of file class.ilObjectServiceSettingsGUI.php.
|
protected |
Definition at line 60 of file class.ilObjectServiceSettingsGUI.php.
Referenced by getModes().
|
protected |
Definition at line 61 of file class.ilObjectServiceSettingsGUI.php.
Referenced by __construct(), and getObjId().
const ilObjectServiceSettingsGUI::AUTO_RATING_NEW_OBJECTS = 'cont_auto_rate_new_obj' |
Definition at line 43 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjectDataSet\getDependencies(), ilObjGroupGUI\getSubServices(), ilObjCourseGUI\getSubServices(), ilObjectDataSet\getTypes(), and ilObject\selfOrParentWithRatingEnabled().
const ilObjectServiceSettingsGUI::BADGES = 'cont_badges' |
Definition at line 48 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjGroupGUI\getSubServices(), ilObjCourseGUI\getSubServices(), and ilBadgeHandler\isObjectActive().
const ilObjectServiceSettingsGUI::BOOKING = 'cont_bookings' |
Definition at line 52 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjCourseGUI\getSubServices(), ilObjCourseGUI\getTabs(), and ilObjSessionGUI\getTabs().
const ilObjectServiceSettingsGUI::CALENDAR_ACTIVATION = 'cont_activation_calendar' |
Definition at line 39 of file class.ilObjectServiceSettingsGUI.php.
const ilObjectServiceSettingsGUI::CALENDAR_CONFIGURATION = 'cont_cal_configuration' |
Definition at line 37 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjGroupGUI\executeCommand(), ilObjGroupGUI\getSubServices(), and ilObjCourseGUI\getSubServices().
const ilObjectServiceSettingsGUI::CALENDAR_VISIBILITY = 'cont_show_calendar' |
Definition at line 38 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjectDataSet\getDependencies(), and ilObjectDataSet\getTypes().
const ilObjectServiceSettingsGUI::CUSTOM_METADATA = 'cont_custom_md' |
Definition at line 47 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilAdvancedMDRecord\_getSelectedRecordsByObject(), ilObjBookingPoolGUI\addExternalEditFormCustom(), ilIndividualAssessmentCommonSettingsGUI\addServiceSettingsToForm(), ilObjWiki\cloneObject(), ilObjSession\cloneSettings(), ilObjTalkTemplate\create(), ilObjectDataSet\getDependencies(), ilObjPortfolioTemplateGUI\getEditFormCustomValues(), ilObjExerciseGUI\getEditFormCustomValues(), ilObjGroupGUI\getSubServices(), ilObjCourseGUI\getSubServices(), ilObjectDataSet\getTypes(), ilObjectMetaDataGUI\hasAdvancedMDSettings(), ilAdvancedMetaDataImporter\importXmlRepresentation(), ilObjPortfolioTemplateGUI\initEditCustomForm(), ilObjMediaPoolGUI\initEditCustomForm(), ilObjCategoryGUI\initEditForm(), ilObjSessionGUI\initForm(), ilObjGlossaryGUI\initSettingsForm(), ilObjWikiGUI\initSettingsForm(), ilObjExerciseGUI\listAssignmentsObject(), ilObjEmployeeTalkSeries\read(), ilObjSessionGUI\saveObject(), ilObjGlossaryGUI\saveProperties(), ilIndividualAssessmentCommonSettingsGUI\saveSettings(), ilObjWikiGUI\saveSettingsObject(), ilAdvancedMDRecordObjectOrderings\sortRecords(), ilObjPortfolioTemplateGUI\updateCustom(), ilObjBookingPoolGUI\updateCustom(), ilObjExerciseGUI\updateCustom(), ilObjMediaPoolGUI\updateCustom(), ilObjCategoryGUI\updateObject(), and ilObjSessionGUI\updateObject().
const ilObjectServiceSettingsGUI::EXTERNAL_MAIL_PREFIX = 'mail_external_prefix' |
Definition at line 53 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilMailMemberSearchGUI\generateContextArray(), ilCourseMembershipGUI\getMailContextOptions(), ilGroupMembershipGUI\getMailContextOptions(), ilObjGroupGUI\getSubServices(), ilObjCourseGUI\getSubServices(), ilGroupMembershipMailNotification\initMail(), and ilCourseMembershipMailNotification\initMail().
const ilObjectServiceSettingsGUI::FILTER = 'filter' |
Definition at line 51 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjCategoryGUI\initEditForm(), and ilObjCategoryGUI\updateObject().
const ilObjectServiceSettingsGUI::INFO_TAB_VISIBILITY = 'cont_show_info_tab' |
Definition at line 44 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjCategoryGUI\__construct(), ilObjContentPageGUI\__construct(), ilObjContentPage\doCloneObject(), ilObjectDataSet\getDependencies(), ilObjContentPageGUI\getEditFormCustomValues(), ilObjContentPageListGUI\getInfoScreenStatus(), ilObjCategoryListGUI\getInfoScreenStatus(), ilObjectDataSet\getTypes(), ilContentPageDataSet\importRecord(), ilObjContentPageGUI\initEditCustomForm(), ilObjCategoryGUI\initEditForm(), ilObjContentObjectGUI\initPropertiesForm(), ilObjFileBasedLMGUI\initSettingsForm(), ilObjectListGUI\insertCommands(), ilObjFileBasedLMAccess\isInfoEnabled(), ilObjContentObjectAccess\isInfoEnabled(), ilContentPageDataSet\readData(), ilObjFileBasedLMGUI\saveProperties(), ilObjContentObjectGUI\saveProperties(), ilObjContentPageGUI\updateCustom(), and ilObjCategoryGUI\updateObject().
const ilObjectServiceSettingsGUI::NEWS_VISIBILITY = 'cont_show_news' |
Definition at line 41 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilContainer\create(), ilObjectDataSet\getDependencies(), ilObjectDataSet\getTypes(), ilObjCategoryGUI\initEditForm(), ilContainerNewsSettingsGUI\initForm(), ilContainer\readContainerSettings(), ilContainerNewsSettingsGUI\save(), ilObjCategoryGUI\setEditTabs(), ilContainer\update(), and ilObjCategoryGUI\updateObject().
const ilObjectServiceSettingsGUI::ORGU_POSITION_ACCESS = 'obj_orgunit_positions' |
Definition at line 49 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilIndividualAssessmentCommonSettingsGUI\addServiceSettingsToForm(), ilStudyProgrammeCommonSettingsGUI\addServiceSettingsToForm(), ilObjTestSettingsGeneralGUI\buildForm(), ilObjGroupGUI\getSubServices(), ilObjCourseGUI\getSubServices(), ilObjExerciseGUI\listAssignmentsObject(), ilObjTestSettingsGeneralGUI\performSaveForm(), ILIAS\Survey\Settings\SettingsFormGUI\saveForm(), ilStudyProgrammeCommonSettingsGUI\saveSettings(), ilIndividualAssessmentCommonSettingsGUI\saveSettings(), ilObjExerciseGUI\updateCustom(), and ILIAS\Survey\Settings\SettingsFormGUI\withOther().
const ilObjectServiceSettingsGUI::SKILLS = 'cont_skills' |
Definition at line 50 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjGroupGUI\getSubServices(), ilObjCourseGUI\getSubServices(), ilObjGroupGUI\getTabs(), and ilContSkillPresentationGUI\isAccessible().
const ilObjectServiceSettingsGUI::TAG_CLOUD = 'cont_tag_cloud' |
Definition at line 46 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjectDataSet\getDependencies(), ilObjGroupGUI\getSubServices(), ilObjCourseGUI\getSubServices(), ilObjectDataSet\getTypes(), ilObjCategoryGUI\initEditForm(), ilTaggingClassificationProvider\isActive(), and ilObjCategoryGUI\updateObject().
const ilObjectServiceSettingsGUI::TAXONOMIES = 'cont_taxonomies' |
Definition at line 45 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilTaxonomyClassificationProvider\getActiveTaxonomiesForParentRefId(), ilObjectDataSet\getDependencies(), ilObjCategoryGUI\getObjectMetadataGUI(), ilObjTaxonomyAdministration\getRepositoryTaxonomies(), ilTaxMDGUI\getSelectableTaxonomies(), ilObjCategoryGUI\getTabs(), ilObjectDataSet\getTypes(), ilObjCategoryGUI\initEditForm(), and ilObjCategoryGUI\updateObject().
const ilObjectServiceSettingsGUI::USE_NEWS = 'cont_use_news' |
Definition at line 42 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilContainer\create(), ilObjectDataSet\getDependencies(), ilObjGroupGUI\getSubServices(), ilObjCourseGUI\getSubServices(), ilObjectDataSet\getTypes(), ilColumnGUI\isGloballyActivated(), ilContainer\readContainerSettings(), and ilContainer\update().