ILIAS
Release_4_4_x_branch Revision 61816
|
GUI class for service settings (calendar, notes, comments) More...
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' |
const | AUTO_RATING_NEW_OBJECTS = 'cont_auto_rate_new_obj' |
const | INFO_TAB_VISIBILITY = 'cont_show_info_tab' |
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 29 of file class.ilObjectServiceSettingsGUI.php.
|
protected |
Definition at line 200 of file class.ilObjectServiceSettingsGUI.php.
References $GLOBALS.
|
protected |
Edit tool settings (calendar, news, comments, ...)
ilPropertyFormGUI | $form |
Definition at line 209 of file class.ilObjectServiceSettingsGUI.php.
References $GLOBALS.
Referenced by updateToolSettings().
ilObjectServiceSettingsGUI::executeCommand | ( | ) |
ilObjectServiceSettingsGUI::getModes | ( | ) |
Get active modes.
Definition at line 186 of file class.ilObjectServiceSettingsGUI.php.
References $modes.
Referenced by isModeActive().
ilObjectServiceSettingsGUI::getObjId | ( | ) |
Get obj id.
Definition at line 195 of file class.ilObjectServiceSettingsGUI.php.
References $obj_id.
Referenced by updateToolSettings().
|
static |
Init service settings form.
ilPropertyFormGUI | $form | |
type | $services |
Definition at line 62 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().
|
protected |
Check if specific mode is active.
type | $a_mode |
Definition at line 249 of file class.ilObjectServiceSettingsGUI.php.
References getModes().
Referenced by updateToolSettings().
|
static |
Update service settings.
type | $a_obj_id | |
ilPropertyFormGUI | $form | |
type | $services |
Definition at line 144 of file class.ilObjectServiceSettingsGUI.php.
References ilCalendarSettings\_getInstance(), ilContainer\_writeContainerSetting(), and ilPropertyFormGUI\getInput().
Referenced by ilObjGroupGUI\updateObject(), ilObjCategoryGUI\updateObject(), and ilObjCourseGUI\updateObject().
|
protected |
Update settings.
Definition at line 222 of file class.ilObjectServiceSettingsGUI.php.
References $GLOBALS, ilCalendarSettings\_getInstance(), ilContainer\_writeContainerSetting(), editSettings(), getObjId(), isModeActive(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
private |
Definition at line 21 of file class.ilObjectServiceSettingsGUI.php.
|
private |
Definition at line 22 of file class.ilObjectServiceSettingsGUI.php.
Referenced by getModes().
|
private |
Definition at line 23 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(), ilObjGroupGUI\updateObject(), and ilObjCourseGUI\updateObject().
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::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(), ilObjGroupGUI\updateObject(), ilObjCategoryGUI\updateObject(), and ilObjCourseGUI\updateObject().