|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
GUI class for service settings (calendar, notes, comments) More...
Collaboration diagram for ilObjectServiceSettingsGUI:Public Member Functions | |
| __construct ($a_parent_gui, $a_obj_id, $a_modes) | |
| Constructor. More... | |
| executeCommand () | |
| Control class handling. More... | |
| getModes () | |
| Get active modes. More... | |
| getObjId () | |
| Get obj id. More... | |
Static Public Member Functions | |
| static | initServiceSettingsForm ($a_obj_id, ilPropertyFormGUI $form, $services) |
| Init service settings form. More... | |
| static | updateServiceSettingsForm ($a_obj_id, ilPropertyFormGUI $form, $services) |
| Update service settings. More... | |
Data Fields | |
| const | CALENDAR_VISIBILITY = 'cont_show_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' |
Protected Member Functions | |
| cancel () | |
| editSettings (ilPropertyFormGUI $form=null) | |
| Edit tool settings (calendar, news, comments, ...) More... | |
| updateToolSettings () | |
| Update settings. More... | |
| isModeActive ($a_mode) | |
| Check if specific mode is active. More... | |
Private Attributes | |
| $gui = null | |
| $modes = array() | |
| $obj_id = 0 | |
GUI class for service settings (calendar, notes, comments)
@ilCtrl_Calls ilObjectServiceSettingsGUI:
Definition at line 14 of file class.ilObjectServiceSettingsGUI.php.
| ilObjectServiceSettingsGUI::__construct | ( | $a_parent_gui, | |
| $a_obj_id, | |||
| $a_modes | |||
| ) |
Constructor.
| type | $a_parent_gui |
Definition at line 39 of file class.ilObjectServiceSettingsGUI.php.
|
protected |
Definition at line 346 of file class.ilObjectServiceSettingsGUI.php.
References $GLOBALS.
|
protected |
Edit tool settings (calendar, news, comments, ...)
| ilPropertyFormGUI | $form |
Definition at line 355 of file class.ilObjectServiceSettingsGUI.php.
References $GLOBALS.
Referenced by updateToolSettings().
Here is the caller graph for this function:| ilObjectServiceSettingsGUI::executeCommand | ( | ) |
Control class handling.
Definition at line 52 of file class.ilObjectServiceSettingsGUI.php.
| ilObjectServiceSettingsGUI::getModes | ( | ) |
Get active modes.
Definition at line 332 of file class.ilObjectServiceSettingsGUI.php.
References $modes.
Referenced by isModeActive().
Here is the caller graph for this function:| ilObjectServiceSettingsGUI::getObjId | ( | ) |
Get obj id.
Definition at line 341 of file class.ilObjectServiceSettingsGUI.php.
References $obj_id.
Referenced by updateToolSettings().
Here is the caller graph for this function:
|
static |
Init service settings form.
| ilPropertyFormGUI | $form | |
| type | $services |
Definition at line 72 of file class.ilObjectServiceSettingsGUI.php.
References $GLOBALS, $ilCtrl, $ilSetting, $info, $ref_id, ilObject\_getAllReferences(), ilCalendarSettings\_getInstance(), ilContainer\_lookupContainerSetting(), ilObject\_lookupType(), ilPropertyFormGUI\addItem(), ilMembershipNotifications\addToSettingsForm(), ilBadgeHandler\getInstance(), and ilCalendarSettings\lookupCalendarActivated().
Referenced by ilObjBookingPoolGUI\addExternalEditFormCustom(), ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilObjGlossaryGUI\initSettingsForm(), and ilObjWikiGUI\initSettingsForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Check if specific mode is active.
| type | $a_mode |
Definition at line 395 of file class.ilObjectServiceSettingsGUI.php.
References getModes().
Referenced by updateToolSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Update service settings.
| type | $a_obj_id | |
| ilPropertyFormGUI | $form | |
| type | $services |
Definition at line 245 of file class.ilObjectServiceSettingsGUI.php.
References $ref_id, ilObject\_getAllReferences(), ilCalendarSettings\_getInstance(), ilObject\_lookupType(), ilContainer\_writeContainerSetting(), ilPropertyFormGUI\getInput(), ilBadgeHandler\getInstance(), and ilMembershipNotifications\importFromForm().
Referenced by ilObjGlossaryGUI\saveProperties(), ilObjWikiGUI\saveSettingsObject(), ilObjBookingPoolGUI\updateCustom(), ilObjCategoryGUI\updateObject(), ilObjCourseGUI\updateObject(), and ilObjGroupGUI\updateObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Update settings.
Definition at line 368 of file class.ilObjectServiceSettingsGUI.php.
References $GLOBALS, ilCalendarSettings\_getInstance(), ilContainer\_writeContainerSetting(), editSettings(), getObjId(), isModeActive(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
private |
Definition at line 31 of file class.ilObjectServiceSettingsGUI.php.
|
private |
Definition at line 32 of file class.ilObjectServiceSettingsGUI.php.
Referenced by getModes().
|
private |
Definition at line 33 of file class.ilObjectServiceSettingsGUI.php.
Referenced by getObjId().
| const ilObjectServiceSettingsGUI::AUTO_RATING_NEW_OBJECTS = 'cont_auto_rate_new_obj' |
Definition at line 24 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObject\hasAutoRating(), ilObjectDataSet\importRecord(), ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilObjectDataSet\readData(), ilObjCourseGUI\updateObject(), and ilObjGroupGUI\updateObject().
| const ilObjectServiceSettingsGUI::BADGES = 'cont_badges' |
Definition at line 29 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilBadgeHandler\isObjectActive(), ilObjCourseGUI\updateObject(), and ilObjGroupGUI\updateObject().
| const ilObjectServiceSettingsGUI::CALENDAR_VISIBILITY = 'cont_show_calendar' |
Definition at line 21 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjCourseGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjectDataSet\importRecord(), ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilObjectDataSet\readData(), ilObjCourseGUI\updateObject(), and ilObjGroupGUI\updateObject().
| const ilObjectServiceSettingsGUI::CUSTOM_METADATA = 'cont_custom_md' |
Definition at line 28 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilAdvancedMDRecord\_getSelectedRecordsByObject(), ilObjBookingPoolGUI\addExternalEditFormCustom(), ilObjectMetaDataGUI\hasAdvancedMDSettings(), ilObjectDataSet\importRecord(), ilAdvancedMetaDataImporter\importXmlRepresentation(), ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), ilObjGlossaryGUI\initSettingsForm(), ilObjWikiGUI\initSettingsForm(), ilObjectDataSet\readData(), ilObjGlossaryGUI\saveProperties(), ilObjWikiGUI\saveSettingsObject(), ilObjBookingPoolGUI\updateCustom(), ilObjCategoryGUI\updateObject(), and ilObjCourseGUI\updateObject().
| const ilObjectServiceSettingsGUI::INFO_TAB_VISIBILITY = 'cont_show_info_tab' |
Definition at line 25 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjCategoryGUI\__construct(), ilObjCategoryListGUI\getInfoScreenStatus(), ilObjectDataSet\importRecord(), ilObjCategoryGUI\initEditForm(), ilObjectListGUI\insertCommands(), ilObjectDataSet\readData(), and ilObjCategoryGUI\updateObject().
| const ilObjectServiceSettingsGUI::NEWS_VISIBILITY = 'cont_show_news' |
Definition at line 22 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilContainer\create(), ilObjectDataSet\importRecord(), ilObjCategoryGUI\initEditForm(), ilContainerNewsSettingsGUI\initForm(), ilContainer\readContainerSettings(), ilObjectDataSet\readData(), ilContainerNewsSettingsGUI\save(), ilContainer\update(), and ilObjCategoryGUI\updateObject().
| const ilObjectServiceSettingsGUI::TAG_CLOUD = 'cont_tag_cloud' |
Definition at line 27 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjectDataSet\importRecord(), ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilTaggingClassificationProvider\isActive(), ilObjectDataSet\readData(), ilObjCourseGUI\updateObject(), and ilObjGroupGUI\updateObject().
| const ilObjectServiceSettingsGUI::TAXONOMIES = 'cont_taxonomies' |
Definition at line 26 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilTaxonomyClassificationProvider\getActiveTaxonomiesForParentRefId(), ilObjTaxonomyAdministration\getRepositoryTaxonomies(), ilTaxMDGUI\getSelectableTaxonomies(), ilObjCategoryGUI\getTabs(), ilObjectDataSet\importRecord(), ilObjCategoryGUI\initEditForm(), ilObjectDataSet\readData(), and ilObjCategoryGUI\updateObject().
| const ilObjectServiceSettingsGUI::USE_NEWS = 'cont_use_news' |
Definition at line 23 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilContainer\create(), ilObjectDataSet\importRecord(), ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilContainer\readContainerSettings(), ilObjectDataSet\readData(), ilContainer\update(), ilObjCourseGUI\updateObject(), and ilObjGroupGUI\updateObject().