|
ILIAS
Release_4_0_x_branch Revision 61816
|
Administration, Side-Block presentation of calendar categories. More...
Collaboration diagram for ilCalendarCategoryGUI:Public Member Functions | |
| __construct ($a_user_id, $seed) | |
| Constructor. | |
| executeCommand () | |
| Execute command. | |
| saveSelection () | |
| save selection of categories | |
| showCategories () | |
| public | |
| shareSearch () | |
| share calendar | |
| sharePerformSearch () | |
| share perform search | |
| shareAssign () | |
| share assign | |
| shareAssignRoles () | |
| share assign roles | |
| shareDeassign () | |
| desassign users/roles from calendar | |
| getHTML () | |
Data Fields | |
| const | SEARCH_USER = 1 |
| const | SEARCH_ROLE = 2 |
Protected Member Functions | |
| cancel () | |
| cancel | |
| add () | |
| add new calendar | |
| save () | |
| save new calendar | |
| edit () | |
| edit category | |
| update () | |
| update | |
| confirmDelete () | |
| confirm delete | |
| delete () | |
| Delete. | |
| showUserList ($a_ids=array()) | |
| show user list | |
| showRoleList ($a_ids=array()) | |
| show role list | |
| initFormSearch () | |
| init form search | |
| initFormCategory ($a_mode) | |
| init edit/create category form | |
| showAssignedAppointments () | |
| show assigned aapointments | |
| askDeleteAppointments () | |
| ask delete appointments | |
| deleteAppointments () | |
| delete appointments | |
| appendCalendarSelection () | |
| switchCalendarMode () | |
| Switch calendar selection nmode. | |
| checkVisible () | |
| addReferenceLinks ($a_obj_id) | |
| Show links to references. | |
Protected Attributes | |
| $user_id | |
| $tpl | |
| $ctrl | |
| $lng | |
| $editable = false | |
| $visible = false | |
Private Member Functions | |
| readPermissions () | |
| read permissions | |
| isEditable () | |
| check if calendar is editable private | |
Administration, Side-Block presentation of calendar categories.
ilCalendarCategoryGUI: ilCalendarAppointmentGUI
Definition at line 35 of file class.ilCalendarCategoryGUI.php.
| ilCalendarCategoryGUI::__construct | ( | $a_user_id, | |
| $seed | |||
| ) |
Constructor.
public
| int | user id |
Definition at line 55 of file class.ilCalendarCategoryGUI.php.
|
protected |
add new calendar
protected
Definition at line 114 of file class.ilCalendarCategoryGUI.php.
References $tpl, and initFormCategory().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show links to references.
| int | $a_obj_id | $obj_id |
Definition at line 1144 of file class.ilCalendarCategoryGUI.php.
References $ref_id, $title, $tpl, $type, ilObject\_getAllReferences(), ilLink\_getLink(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), and ilUtil\getTypeIconPath().
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| @return |
Definition at line 1006 of file class.ilCalendarCategoryGUI.php.
References $tpl, ilCalendarUserSettings\_getInstance(), ilCalendarUserSettings\CAL_SELECTION_ITEMS, and ilCalendarUserSettings\CAL_SELECTION_MEMBERSHIP.
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
ask delete appointments
protected
Definition at line 915 of file class.ilCalendarCategoryGUI.php.
References $_GET, $_POST, $tpl, edit(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
cancel
protected
Definition at line 103 of file class.ilCalendarCategoryGUI.php.
|
protected |
| @return |
Definition at line 1119 of file class.ilCalendarCategoryGUI.php.
References $ilErr.
Referenced by edit().
Here is the caller graph for this function:
|
protected |
confirm delete
protected
Definition at line 284 of file class.ilCalendarCategoryGUI.php.
References $_GET, $tpl, edit(), isEditable(), readPermissions(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
Delete.
protected
| @return |
Definition at line 324 of file class.ilCalendarCategoryGUI.php.
References $_GET, edit(), isEditable(), readPermissions(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
delete appointments
protected
Definition at line 951 of file class.ilCalendarCategoryGUI.php.
References $_POST, ilCalendarCategoryAssignments\_deleteByAppointmentId(), edit(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
edit category
protected
Definition at line 168 of file class.ilCalendarCategoryGUI.php.
References $_GET, $tpl, addReferenceLinks(), checkVisible(), ilYuiUtil\initButtonControl(), initFormCategory(), isEditable(), readPermissions(), ilUtil\sendFailure(), showAssignedAppointments(), ilCalendarCategory\TYPE_GLOBAL, ilCalendarCategory\TYPE_OBJ, and ilCalendarCategory\TYPE_USR.
Referenced by askDeleteAppointments(), confirmDelete(), delete(), deleteAppointments(), shareAssign(), shareAssignRoles(), shareDeassign(), shareSearch(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarCategoryGUI::executeCommand | ( | ) |
Execute command.
public
Definition at line 73 of file class.ilCalendarCategoryGUI.php.
References $_GET, $cmd, $ilSetting, and $tpl.
| ilCalendarCategoryGUI::getHTML | ( | ) |
Definition at line 975 of file class.ilCalendarCategoryGUI.php.
References $title, ilCalendarCategories\_getInstance(), ilCalendarHidden\_getInstanceByUserId(), and appendCalendarSelection().
Here is the call graph for this function:
|
protected |
init edit/create category form
protected
Definition at line 803 of file class.ilCalendarCategoryGUI.php.
References $_GET, $title, $type, ilCalendarCategories\_getInstance(), ilCalendarSettings\_getInstance(), isEditable(), ilColorPickerInputGUI\setValue(), ilCalendarCategory\TYPE_GLOBAL, and ilCalendarCategory\TYPE_USR.
Referenced by add(), and edit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
init form search
protected
| @return |
Definition at line 758 of file class.ilCalendarCategoryGUI.php.
References $_POST, $lng, $type, $user, SEARCH_ROLE, SEARCH_USER, and ilTextInputGUI\setValue().
Referenced by shareSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
check if calendar is editable private
Definition at line 1134 of file class.ilCalendarCategoryGUI.php.
References $editable.
Referenced by confirmDelete(), delete(), edit(), initFormCategory(), shareAssign(), shareAssignRoles(), shareDeassign(), shareSearch(), and update().
Here is the caller graph for this function:
|
private |
read permissions
private
| @return |
Definition at line 1067 of file class.ilCalendarCategoryGUI.php.
References $_GET, ilObject\_getAllReferences(), ilCalendarSettings\_getInstance(), elseif(), ilCalendarShared\getSharedCalendarsForUser(), ilCalendarCategory\TYPE_GLOBAL, ilCalendarCategory\TYPE_OBJ, and ilCalendarCategory\TYPE_USR.
Referenced by confirmDelete(), delete(), edit(), shareAssign(), shareAssignRoles(), shareDeassign(), shareSearch(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
save new calendar
protected
Definition at line 129 of file class.ilCalendarCategoryGUI.php.
References $_POST, add(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), ilCalendarCategory\TYPE_GLOBAL, and ilCalendarCategory\TYPE_USR.
Here is the call graph for this function:| ilCalendarCategoryGUI::saveSelection | ( | ) |
save selection of categories
public
| @return |
Definition at line 357 of file class.ilCalendarCategoryGUI.php.
References $_POST, ilCalendarCategories\_getInstance(), ilCalendarHidden\_getInstanceByUserId(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilCalendarCategoryGUI::shareAssign | ( | ) |
share assign
public
Definition at line 575 of file class.ilCalendarCategoryGUI.php.
References $_GET, $_POST, $user_id, edit(), isEditable(), readPermissions(), ilUtil\sendFailure(), ilUtil\sendSuccess(), sharePerformSearch(), and ilCalendarShared\TYPE_USR.
Here is the call graph for this function:| ilCalendarCategoryGUI::shareAssignRoles | ( | ) |
share assign roles
public
| @return |
Definition at line 621 of file class.ilCalendarCategoryGUI.php.
References $_GET, $_POST, edit(), isEditable(), readPermissions(), ilUtil\sendFailure(), ilUtil\sendSuccess(), sharePerformSearch(), and ilCalendarShared\TYPE_ROLE.
Here is the call graph for this function:| ilCalendarCategoryGUI::shareDeassign | ( | ) |
desassign users/roles from calendar
public
| @return |
Definition at line 663 of file class.ilCalendarCategoryGUI.php.
References $_GET, $_POST, edit(), isEditable(), readPermissions(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilCalendarCategoryGUI::sharePerformSearch | ( | ) |
share perform search
public
Definition at line 473 of file class.ilCalendarCategoryGUI.php.
References $_GET, $_POST, $_SESSION, $query, $res, $type, ilObjectSearchFactory\_getUserSearchInstance(), elseif(), QP_COMBINATION_OR, ilUtil\sendFailure(), shareSearch(), showRoleList(), showUserList(), and ilUtil\stripSlashes().
Referenced by shareAssign(), and shareAssignRoles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarCategoryGUI::shareSearch | ( | ) |
share calendar
public
| @return |
Definition at line 441 of file class.ilCalendarCategoryGUI.php.
References $_GET, $_SESSION, $tpl, edit(), initFormSearch(), isEditable(), readPermissions(), and ilUtil\sendFailure().
Referenced by sharePerformSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
show assigned aapointments
protected
Definition at line 895 of file class.ilCalendarCategoryGUI.php.
References $_GET, ilCalendarCategoryAssignments\_getAssignedAppointments(), and ilCalendarCategories\_getInstance().
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarCategoryGUI::showCategories | ( | ) |
public
| @return |
Definition at line 407 of file class.ilCalendarCategoryGUI.php.
References $_GET, $_POST, $_SESSION, and elseif().
Here is the call graph for this function:
|
protected |
show role list
protected
| array | array of role ids |
Definition at line 731 of file class.ilCalendarCategoryGUI.php.
References $tpl.
Referenced by sharePerformSearch().
Here is the caller graph for this function:
|
protected |
show user list
protected
| array | array of user ids |
Definition at line 706 of file class.ilCalendarCategoryGUI.php.
References $tpl.
Referenced by sharePerformSearch().
Here is the caller graph for this function:
|
protected |
Switch calendar selection nmode.
Definition at line 1049 of file class.ilCalendarCategoryGUI.php.
References $_GET, and ilCalendarUserSettings\_getInstance().
Here is the call graph for this function:
|
protected |
update
protected
Definition at line 252 of file class.ilCalendarCategoryGUI.php.
References $_GET, $_POST, edit(), isEditable(), readPermissions(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 42 of file class.ilCalendarCategoryGUI.php.
|
protected |
Definition at line 45 of file class.ilCalendarCategoryGUI.php.
Referenced by isEditable().
|
protected |
Definition at line 43 of file class.ilCalendarCategoryGUI.php.
Referenced by __construct(), and initFormSearch().
|
protected |
Definition at line 41 of file class.ilCalendarCategoryGUI.php.
Referenced by add(), addReferenceLinks(), appendCalendarSelection(), askDeleteAppointments(), confirmDelete(), edit(), executeCommand(), shareSearch(), showRoleList(), and showUserList().
|
protected |
Definition at line 40 of file class.ilCalendarCategoryGUI.php.
Referenced by shareAssign().
|
protected |
Definition at line 46 of file class.ilCalendarCategoryGUI.php.
| const ilCalendarCategoryGUI::SEARCH_ROLE = 2 |
Definition at line 38 of file class.ilCalendarCategoryGUI.php.
Referenced by initFormSearch().
| const ilCalendarCategoryGUI::SEARCH_USER = 1 |
Definition at line 37 of file class.ilCalendarCategoryGUI.php.
Referenced by initFormSearch().