|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
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 | 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' |
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 31 of file class.ilObjectServiceSettingsGUI.php.
|
protected |
Definition at line 247 of file class.ilObjectServiceSettingsGUI.php.
References $GLOBALS.
|
protected |
Edit tool settings (calendar, news, comments, ...)
| ilPropertyFormGUI | $form |
Definition at line 256 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 44 of file class.ilObjectServiceSettingsGUI.php.
| ilObjectServiceSettingsGUI::getModes | ( | ) |
Get active modes.
Definition at line 233 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 242 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 64 of file class.ilObjectServiceSettingsGUI.php.
References $GLOBALS, $ilSetting, ilCalendarSettings\_getInstance(), ilContainer\_lookupContainerSetting(), ilPropertyFormGUI\addItem(), and ilCalendarSettings\lookupCalendarActivated().
Referenced by ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), and ilObjGroupGUI\initForm().
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 296 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 177 of file class.ilObjectServiceSettingsGUI.php.
References ilCalendarSettings\_getInstance(), ilContainer\_writeContainerSetting(), and ilPropertyFormGUI\getInput().
Referenced by 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 269 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 23 of file class.ilObjectServiceSettingsGUI.php.
|
private |
Definition at line 24 of file class.ilObjectServiceSettingsGUI.php.
Referenced by getModes().
|
private |
Definition at line 25 of file class.ilObjectServiceSettingsGUI.php.
Referenced by getObjId().
| const ilObjectServiceSettingsGUI::AUTO_RATING_NEW_OBJECTS = 'cont_auto_rate_new_obj' |
Definition at line 18 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObject\hasAutoRating(), ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilObjCourseGUI\updateObject(), and ilObjGroupGUI\updateObject().
| const ilObjectServiceSettingsGUI::CALENDAR_VISIBILITY = 'cont_show_calendar' |
Definition at line 16 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjCourseGUI\executeCommand(), ilObjGroupGUI\executeCommand(), ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilObjCourseGUI\updateObject(), and ilObjGroupGUI\updateObject().
| const ilObjectServiceSettingsGUI::INFO_TAB_VISIBILITY = 'cont_show_info_tab' |
Definition at line 19 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjCategoryListGUI\getInfoScreenStatus(), ilObjCategoryGUI\ilObjCategoryGUI(), ilObjCategoryGUI\initEditForm(), ilObjectListGUI\insertCommands(), and ilObjCategoryGUI\updateObject().
| const ilObjectServiceSettingsGUI::NEWS_VISIBILITY = 'cont_show_news' |
Definition at line 17 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjCategoryGUI\initEditForm(), ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilObjCategoryGUI\updateObject(), ilObjCourseGUI\updateObject(), and ilObjGroupGUI\updateObject().
| const ilObjectServiceSettingsGUI::TAG_CLOUD = 'cont_tag_cloud' |
Definition at line 21 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilTaggingClassificationProvider\isActive(), ilObjCourseGUI\updateObject(), and ilObjGroupGUI\updateObject().
| const ilObjectServiceSettingsGUI::TAXONOMIES = 'cont_taxonomies' |
Definition at line 20 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilTaxonomyClassificationProvider\getActiveTaxonomiesForParentRefId(), ilObjTaxonomyAdministration\getRepositoryTaxonomies(), ilTaxMDGUI\getSelectableTaxonomies(), ilObjCategoryGUI\getTabs(), ilObjCategoryGUI\initEditForm(), and ilObjCategoryGUI\updateObject().