|
ILIAS
Release_4_3_x_branch Revision 61807
|
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. | |
| executeCommand () | |
| Control class handling. | |
| getModes () | |
| Get active modes. | |
| getObjId () | |
| Get obj id. | |
Static Public Member Functions | |
| static | initServiceSettingsForm ($a_obj_id, ilPropertyFormGUI $form, $services) |
| Init service settings form. | |
| static | updateServiceSettingsForm ($a_obj_id, ilPropertyFormGUI $form, $services) |
| Update service settings. | |
Data Fields | |
| const | CALENDAR_VISIBILITY = 'cont_show_calendar' |
| const | NEWS_VISIBILITY = 'cont_show_news' |
Protected Member Functions | |
| cancel () | |
| editSettings (ilPropertyFormGUI $form=null) | |
| Edit tool settings (calendar, news, comments, ...) | |
| updateToolSettings () | |
| Update settings. | |
| isModeActive ($a_mode) | |
| Check if specific mode is active. | |
Private Attributes | |
| $gui = null | |
| $modes = array() | |
| $obj_id = 0 | |
GUI class for service settings (calendar, notes, comments)
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 27 of file class.ilObjectServiceSettingsGUI.php.
|
protected |
Definition at line 143 of file class.ilObjectServiceSettingsGUI.php.
References $GLOBALS.
|
protected |
Edit tool settings (calendar, news, comments, ...)
| ilPropertyFormGUI | $form |
Definition at line 152 of file class.ilObjectServiceSettingsGUI.php.
References $GLOBALS.
Referenced by updateToolSettings().
Here is the caller graph for this function:| ilObjectServiceSettingsGUI::executeCommand | ( | ) |
| ilObjectServiceSettingsGUI::getModes | ( | ) |
Get active modes.
Definition at line 129 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 138 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 60 of file class.ilObjectServiceSettingsGUI.php.
References $GLOBALS, $ilSetting, ilCalendarSettings\_getInstance(), ilContainer\_lookupContainerSetting(), ilPropertyFormGUI\addItem(), and ilCalendarSettings\lookupCalendarActivated().
Referenced by 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 192 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 104 of file class.ilObjectServiceSettingsGUI.php.
References ilCalendarSettings\_getInstance(), ilContainer\_writeContainerSetting(), and ilPropertyFormGUI\getInput().
Referenced by ilObjGroupGUI\updateObject(), and ilObjCourseGUI\updateObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Update settings.
Definition at line 165 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 19 of file class.ilObjectServiceSettingsGUI.php.
|
private |
Definition at line 20 of file class.ilObjectServiceSettingsGUI.php.
Referenced by getModes().
|
private |
Definition at line 21 of file class.ilObjectServiceSettingsGUI.php.
Referenced by getObjId().
| const ilObjectServiceSettingsGUI::CALENDAR_VISIBILITY = 'cont_show_calendar' |
Definition at line 16 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjGroupGUI\executeCommand(), ilObjCourseGUI\executeCommand(), ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilObjGroupGUI\updateObject(), and ilObjCourseGUI\updateObject().
| const ilObjectServiceSettingsGUI::NEWS_VISIBILITY = 'cont_show_news' |
Definition at line 17 of file class.ilObjectServiceSettingsGUI.php.
Referenced by ilObjCourseGUI\initEditForm(), ilObjGroupGUI\initForm(), ilObjGroupGUI\updateObject(), and ilObjCourseGUI\updateObject().