|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilCalendarCategoryGUI:Public Member Functions | |
| __construct (int $a_user_id, ilDate $seed, int $a_ref_id=0) | |
| Constructor. More... | |
| executeCommand () | |
| saveSelection () | |
| shareSearch () | |
| sharePerformSearch () | |
| shareAssignEditable () | |
| Share with write access. More... | |
| shareAssign ($a_editable=false) | |
| shareAssignRoles (bool $a_editable=false) | |
| shareDeassign () | |
| getSearchToolbar () | |
| getHTML () | |
| addSubTabs (string $a_active) | |
| invitations () | |
Protected Member Functions | |
| initCategoryIdFromQuery () | |
| initSelectedCategoryIdsFromPost () | |
| cancel () | |
| add (ilPropertyFormGUI $form=null) | |
| save () | |
| edit (ilPropertyFormGUI $form=null) | |
| details () | |
| synchroniseCalendar () | |
| doSynchronisation (ilCalendarCategory $category) | |
| update () | |
| confirmDelete () | |
| delete () | |
| shareAssignRolesEditable () | |
| showUserList (array $a_ids=array()) | |
| showRoleList (array $a_ids=array()) | |
| initFormCategory (string $a_mode) | |
| unshare () | |
| showAssignedAppointments () | |
| askDeleteAppointments () | |
| deleteAppointments () | |
| appendCalendarSelection () | |
| switchCalendarMode () | |
| checkVisible () | |
| isImportable () | |
| addReferenceLinks ($a_obj_id) | |
| manage ($a_reset_offsets=false) | |
| importAppointments (ilPropertyFormGUI $form=null) | |
| initImportForm () | |
| uploadAppointments () | |
| doImportFile ($file, $category_id) | |
| acceptShared () | |
| declineShared () | |
| accept shared calendar @access protected More... | |
Protected Attributes | |
| const | SEARCH_USER = 1 |
| const | SEARCH_ROLE = 2 |
| ilPropertyFormGUI | $form = null |
| ilDate | $seed |
| ilCalendarActions | $actions |
| ilCtrlInterface | $ctrl |
| ilLanguage | $lng |
| ilTabsGUI | $tabs |
| ilGlobalTemplateInterface | $tpl |
| ilObjUser | $user |
| ilToolbarGUI | $toolbar |
| ilHelpGUI | $help |
| ilAccessHandler | $access |
| ilRbacSystem | $rbacsystem |
| ilTree | $tree |
| HttpServices | $http |
| RefineryFactory | $refinery |
Private Member Functions | |
| readPermissions () | |
| isEditable () | |
Private Attributes | |
| int | $user_id = 0 |
| int | $ref_id = 0 |
| int | $obj_id = 0 |
| bool | $editable = false |
| bool | $visible = false |
| bool | $importable = false |
| int | $category_id = 0 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Administration, Side-Block presentation of calendar categories
Definition at line 30 of file class.ilCalendarCategoryGUI.php.
| ilCalendarCategoryGUI::__construct | ( | int | $a_user_id, |
| ilDate | $seed, | ||
| int | $a_ref_id = 0 |
||
| ) |
Constructor.
Definition at line 65 of file class.ilCalendarCategoryGUI.php.
References $DIC, $seed, ilObject\_lookupObjId(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilCalendarActions\getInstance(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), initCategoryIdFromQuery(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 1249 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ilCalendarShared\isSharedWithUser(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 173 of file class.ilCalendarCategoryGUI.php.
References $form, ilPropertyFormGUI\getHTML(), initFormCategory(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1112 of file class.ilCalendarCategoryGUI.php.
References $ref_id, $tpl, $type, ilObject\_getAllReferences(), ilLink\_getLink(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilGlobalTemplateInterface\get(), ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), and ilGlobalTemplateInterface\setVariable().
Referenced by initFormCategory().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarCategoryGUI::addSubTabs | ( | string | $a_active | ) |
Definition at line 1221 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by invitations(), and manage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 986 of file class.ilCalendarCategoryGUI.php.
References $tpl, ilCalendarUserSettings\_getInstance(), ilCalendarUserSettings\CAL_SELECTION_ITEMS, ilCalendarUserSettings\CAL_SELECTION_MEMBERSHIP, ILIAS\Repository\ctrl(), ilGlobalTemplateInterface\get(), IL_CAL_DATE, ILIAS\Repository\lng(), ilGlobalTemplateInterface\setVariable(), and ilGlobalTemplateInterface\touchBlock().
Here is the call graph for this function:
|
protected |
Definition at line 924 of file class.ilCalendarCategoryGUI.php.
References $app, ILIAS\Repository\ctrl(), details(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 165 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
protected |
Definition at line 1092 of file class.ilCalendarCategoryGUI.php.
References $DIC, $ilErr, and ILIAS\Repository\lng().
Referenced by details(), importAppointments(), and unshare().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 334 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), initCategoryIdFromQuery(), initSelectedCategoryIdsFromPost(), ILIAS\Repository\lng(), and manage().
Here is the call graph for this function:
|
protected |
accept shared calendar @access protected
Definition at line 1284 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ilCalendarShared\isSharedWithUser(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 360 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 955 of file class.ilCalendarCategoryGUI.php.
References $app, ilCalendarCategoryAssignments\_deleteByAppointmentId(), details(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 255 of file class.ilCalendarCategoryGUI.php.
References checkVisible(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and readPermissions().
Referenced by askDeleteAppointments(), and deleteAppointments().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1211 of file class.ilCalendarCategoryGUI.php.
References $category_id, ilICalParser\INPUT_FILE, and ilCalendarCategoryAssignments\lookupNumberOfAssignedAppointments().
Referenced by uploadAppointments().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 291 of file class.ilCalendarCategoryGUI.php.
References ilCalendarCategory\getRemotePass(), ilCalendarCategory\getRemoteUrl(), and ilCalendarCategory\getRemoteUser().
Referenced by save(), and synchroniseCalendar().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 234 of file class.ilCalendarCategoryGUI.php.
References $form, ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), initFormCategory(), ILIAS\Repository\lng(), readPermissions(), and ILIAS\Repository\tabs().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarCategoryGUI::executeCommand | ( | ) |
Definition at line 132 of file class.ilCalendarCategoryGUI.php.
References $app, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), IL_CAL_DATE, and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilCalendarCategoryGUI::getHTML | ( | ) |
Definition at line 980 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilCalendarCategoryGUI::getSearchToolbar | ( | ) |
Definition at line 709 of file class.ilCalendarCategoryGUI.php.
References $query, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\toolbar().
Referenced by sharePerformSearch(), and shareSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1154 of file class.ilCalendarCategoryGUI.php.
References $form, checkVisible(), ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), initImportForm(), isImportable(), ILIAS\Repository\lng(), readPermissions(), and ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
Definition at line 105 of file class.ilCalendarCategoryGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by __construct(), confirmDelete(), and uploadAppointments().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 749 of file class.ilCalendarCategoryGUI.php.
References $form, $location, $type, $url, $user, ilCalendarCategories\_getInstance(), ilCalendarSettings\_getInstance(), addReferenceLinks(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilUserUtil\getNamePresentation(), ILIAS\Repository\help(), isEditable(), ILIAS\Repository\lng(), ilCalendarCategory\LTYPE_LOCAL, ilCalendarCategory\LTYPE_REMOTE, ilCalendarCategory\TYPE_GLOBAL, ilCalendarCategory\TYPE_OBJ, and ilCalendarCategory\TYPE_USR.
Referenced by add(), edit(), save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1180 of file class.ilCalendarCategoryGUI.php.
References $form, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), and ilPropertyFormGUI\setTitle().
Referenced by importAppointments(), and uploadAppointments().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 119 of file class.ilCalendarCategoryGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by confirmDelete(), and saveSelection().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarCategoryGUI::invitations | ( | ) |
Definition at line 1241 of file class.ilCalendarCategoryGUI.php.
References addSubTabs(), and ilCalendarShared\getSharedCalendarsForUser().
Here is the call graph for this function:
|
private |
Definition at line 1102 of file class.ilCalendarCategoryGUI.php.
References $editable.
Referenced by initFormCategory(), shareAssign(), shareAssignRoles(), shareDeassign(), shareSearch(), and update().
Here is the caller graph for this function:
|
protected |
Definition at line 1107 of file class.ilCalendarCategoryGUI.php.
References $importable.
Referenced by importAppointments().
Here is the caller graph for this function:
|
protected |
Definition at line 1135 of file class.ilCalendarCategoryGUI.php.
References $toolbar, ilToolbarGUI\addButton(), addSubTabs(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by confirmDelete(), and shareSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1037 of file class.ilCalendarCategoryGUI.php.
References ilObject\_getAllReferences(), ilCalendarSettings\_getInstance(), ILIAS\Repository\access(), ilCalendarShared\getSharedCalendarsForUser(), ilCalendarCategory\TYPE_BOOK, ilCalendarCategory\TYPE_CH, ilCalendarCategory\TYPE_GLOBAL, ilCalendarCategory\TYPE_OBJ, ilCalendarCategory\TYPE_USR, and ILIAS\Repository\user().
Referenced by details(), edit(), importAppointments(), shareAssign(), shareAssignRoles(), shareDeassign(), shareSearch(), unshare(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 187 of file class.ilCalendarCategoryGUI.php.
References Vendor\Package\$e, $form, $GLOBALS, add(), ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), doSynchronisation(), ILIAS\Survey\Mode\getId(), ilPropertyFormGUI\getInput(), initFormCategory(), ILIAS\Repository\lng(), ilCalendarCategory\LTYPE_REMOTE, ilPropertyFormGUI\setValuesByPost(), ilCalendarCategory\TYPE_GLOBAL, ilCalendarCategory\TYPE_USR, and ILIAS\Repository\user().
Here is the call graph for this function:| ilCalendarCategoryGUI::saveSelection | ( | ) |
Definition at line 386 of file class.ilCalendarCategoryGUI.php.
References ilCalendarCategories\_getInstance(), ilCalendarVisibility\_getInstanceByUserId(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), initSelectedCategoryIdsFromPost(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilCalendarCategoryGUI::shareAssign | ( | $a_editable = false | ) |
Definition at line 567 of file class.ilCalendarCategoryGUI.php.
References $user_id, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), isEditable(), ILIAS\Repository\lng(), readPermissions(), ILIAS\Repository\refinery(), sharePerformSearch(), shareSearch(), ilCalendarShared\TYPE_USR, and ILIAS\Repository\user().
Referenced by shareAssignEditable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarCategoryGUI::shareAssignEditable | ( | ) |
Share with write access.
Definition at line 562 of file class.ilCalendarCategoryGUI.php.
References shareAssign().
Here is the call graph for this function:| ilCalendarCategoryGUI::shareAssignRoles | ( | bool | $a_editable = false | ) |
Definition at line 611 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), isEditable(), ILIAS\Repository\lng(), readPermissions(), ILIAS\Repository\refinery(), sharePerformSearch(), shareSearch(), and ilCalendarShared\TYPE_ROLE.
Referenced by shareAssignRolesEditable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 606 of file class.ilCalendarCategoryGUI.php.
References shareAssignRoles().
Here is the call graph for this function:| ilCalendarCategoryGUI::shareDeassign | ( | ) |
Definition at line 650 of file class.ilCalendarCategoryGUI.php.
References $obj_id, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), isEditable(), ILIAS\Repository\lng(), readPermissions(), ILIAS\Repository\refinery(), and shareSearch().
Here is the call graph for this function:| ilCalendarCategoryGUI::sharePerformSearch | ( | ) |
Definition at line 467 of file class.ilCalendarCategoryGUI.php.
References $query, $res, $type, ilObjectSearchFactory\_getUserSearchInstance(), ILIAS\Repository\ctrl(), ilSession\get(), getSearchToolbar(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilQueryParser\QP_COMBINATION_OR, ILIAS\Repository\refinery(), ROOT_FOLDER_ID, SEARCH_ROLE, SEARCH_USER, ilSession\set(), shareSearch(), showRoleList(), showUserList(), ilUtil\stripSlashes(), and ILIAS\Repository\tabs().
Referenced by shareAssign(), and shareAssignRoles().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarCategoryGUI::shareSearch | ( | ) |
Definition at line 440 of file class.ilCalendarCategoryGUI.php.
References ilSession\clear(), ILIAS\Repository\ctrl(), getSearchToolbar(), isEditable(), ILIAS\Repository\lng(), manage(), readPermissions(), and ILIAS\Repository\tabs().
Referenced by shareAssign(), shareAssignRoles(), shareDeassign(), and sharePerformSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 912 of file class.ilCalendarCategoryGUI.php.
References ilCalendarCategoryAssignments\_getAssignedAppointments(), ilCalendarCategories\_getInstance(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 698 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by sharePerformSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 688 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by sharePerformSearch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1022 of file class.ilCalendarCategoryGUI.php.
References ilCalendarUserSettings\_getInstance(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 274 of file class.ilCalendarCategoryGUI.php.
References Vendor\Package\$e, ILIAS\Repository\ctrl(), doSynchronisation(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 889 of file class.ilCalendarCategoryGUI.php.
References checkVisible(), ILIAS\Repository\ctrl(), ilCalendarShared\isSharedWithUser(), ILIAS\Repository\lng(), readPermissions(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 300 of file class.ilCalendarCategoryGUI.php.
References $form, ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), edit(), ilPropertyFormGUI\getInput(), initFormCategory(), isEditable(), ILIAS\Repository\lng(), readPermissions(), ilPropertyFormGUI\setValuesByPost(), and ilCalendarCategory\TYPE_OBJ.
Here is the call graph for this function:
|
protected |
Definition at line 1195 of file class.ilCalendarCategoryGUI.php.
References $form, ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), doImportFile(), ilPropertyFormGUI\getInput(), ilFileUtils\ilTempnam(), initCategoryIdFromQuery(), initImportForm(), ILIAS\Repository\lng(), and ilFileUtils\moveUploadedFile().
Here is the call graph for this function:
|
protected |
Definition at line 55 of file class.ilCalendarCategoryGUI.php.
|
protected |
Definition at line 46 of file class.ilCalendarCategoryGUI.php.
|
private |
Definition at line 41 of file class.ilCalendarCategoryGUI.php.
Referenced by doImportFile().
|
protected |
Definition at line 48 of file class.ilCalendarCategoryGUI.php.
|
private |
Definition at line 38 of file class.ilCalendarCategoryGUI.php.
Referenced by isEditable().
|
protected |
Definition at line 43 of file class.ilCalendarCategoryGUI.php.
Referenced by add(), edit(), importAppointments(), initFormCategory(), initImportForm(), save(), update(), and uploadAppointments().
|
protected |
Definition at line 54 of file class.ilCalendarCategoryGUI.php.
|
protected |
Definition at line 58 of file class.ilCalendarCategoryGUI.php.
|
private |
Definition at line 40 of file class.ilCalendarCategoryGUI.php.
Referenced by isImportable().
|
protected |
Definition at line 49 of file class.ilCalendarCategoryGUI.php.
|
private |
Definition at line 37 of file class.ilCalendarCategoryGUI.php.
Referenced by shareDeassign().
|
protected |
Definition at line 56 of file class.ilCalendarCategoryGUI.php.
|
private |
Definition at line 36 of file class.ilCalendarCategoryGUI.php.
Referenced by addReferenceLinks().
|
protected |
Definition at line 59 of file class.ilCalendarCategoryGUI.php.
|
protected |
Definition at line 45 of file class.ilCalendarCategoryGUI.php.
Referenced by __construct().
|
protected |
Definition at line 50 of file class.ilCalendarCategoryGUI.php.
|
protected |
Definition at line 53 of file class.ilCalendarCategoryGUI.php.
Referenced by manage().
|
protected |
Definition at line 51 of file class.ilCalendarCategoryGUI.php.
Referenced by addReferenceLinks(), and appendCalendarSelection().
|
protected |
Definition at line 57 of file class.ilCalendarCategoryGUI.php.
|
protected |
Definition at line 52 of file class.ilCalendarCategoryGUI.php.
Referenced by initFormCategory().
|
private |
Definition at line 35 of file class.ilCalendarCategoryGUI.php.
Referenced by shareAssign().
|
private |
Definition at line 39 of file class.ilCalendarCategoryGUI.php.
|
protected |
Definition at line 33 of file class.ilCalendarCategoryGUI.php.
Referenced by sharePerformSearch().
|
protected |
Definition at line 32 of file class.ilCalendarCategoryGUI.php.
Referenced by sharePerformSearch().