ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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 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().
|
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().
|
protected |
Definition at line 173 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), initFormCategory(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by save().
|
protected |
Definition at line 1112 of file class.ilCalendarCategoryGUI.php.
References $type, ilObject\_getAllReferences(), ilLink\_getLink(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilGlobalTemplateInterface\get(), ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), and ilGlobalTemplateInterface\setVariable().
Referenced by initFormCategory().
ilCalendarCategoryGUI::addSubTabs | ( | string | $a_active | ) |
Definition at line 1221 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by invitations(), and manage().
|
protected |
Definition at line 986 of file class.ilCalendarCategoryGUI.php.
References 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().
|
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().
|
protected |
Definition at line 165 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\FileDelivery\http().
|
protected |
Definition at line 1092 of file class.ilCalendarCategoryGUI.php.
References $DIC, $ilErr, and ILIAS\Repository\lng().
Referenced by details(), importAppointments(), and unshare().
|
protected |
Definition at line 334 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), initCategoryIdFromQuery(), initSelectedCategoryIdsFromPost(), ILIAS\Repository\lng(), and manage().
|
protected |
accept shared calendar 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().
|
protected |
Definition at line 360 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
|
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().
|
protected |
Definition at line 255 of file class.ilCalendarCategoryGUI.php.
References checkVisible(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), readPermissions(), and showAssignedAppointments().
Referenced by askDeleteAppointments(), and deleteAppointments().
|
protected |
Definition at line 1211 of file class.ilCalendarCategoryGUI.php.
References ilICalParser\INPUT_FILE, and ilCalendarCategoryAssignments\lookupNumberOfAssignedAppointments().
Referenced by uploadAppointments().
|
protected |
Definition at line 291 of file class.ilCalendarCategoryGUI.php.
References ilCalendarCategory\getRemotePass(), ilCalendarCategory\getRemoteUrl(), ilCalendarCategory\getRemoteUser(), and ilCalendarRemoteReader\setUser().
Referenced by save(), and synchroniseCalendar().
|
protected |
Definition at line 234 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), initFormCategory(), ILIAS\Repository\lng(), readPermissions(), and ILIAS\Repository\tabs().
Referenced by update().
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().
ilCalendarCategoryGUI::getHTML | ( | ) |
Definition at line 980 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl().
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().
|
protected |
Definition at line 1154 of file class.ilCalendarCategoryGUI.php.
References checkVisible(), ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), initImportForm(), isImportable(), ILIAS\Repository\lng(), readPermissions(), and ILIAS\Repository\tabs().
|
protected |
Definition at line 105 of file class.ilCalendarCategoryGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by __construct(), confirmDelete(), and uploadAppointments().
|
protected |
Definition at line 749 of file class.ilCalendarCategoryGUI.php.
References $form, $location, $type, $url, 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, ilFormPropertyGUI\setDisabled(), ilColorPickerInputGUI\setValue(), ilNonEditableValueGUI\setValue(), ilCalendarCategory\TYPE_GLOBAL, ilCalendarCategory\TYPE_OBJ, and ilCalendarCategory\TYPE_USR.
Referenced by add(), edit(), save(), and update().
|
protected |
Definition at line 1180 of file class.ilCalendarCategoryGUI.php.
References $form, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilFileInputGUI\setAllowDeletion(), ilFormGUI\setFormAction(), and ilPropertyFormGUI\setTitle().
Referenced by importAppointments(), and uploadAppointments().
|
protected |
Definition at line 119 of file class.ilCalendarCategoryGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by confirmDelete(), and saveSelection().
ilCalendarCategoryGUI::invitations | ( | ) |
Definition at line 1241 of file class.ilCalendarCategoryGUI.php.
References addSubTabs(), and ilCalendarShared\getSharedCalendarsForUser().
|
private |
Definition at line 1102 of file class.ilCalendarCategoryGUI.php.
References $editable.
Referenced by initFormCategory(), shareAssign(), shareAssignRoles(), shareDeassign(), shareSearch(), and update().
|
protected |
Definition at line 1107 of file class.ilCalendarCategoryGUI.php.
References $importable.
Referenced by importAppointments().
|
protected |
Definition at line 1135 of file class.ilCalendarCategoryGUI.php.
References ilToolbarGUI\addButton(), addSubTabs(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by confirmDelete(), and shareSearch().
|
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().
|
protected |
Definition at line 187 of file class.ilCalendarCategoryGUI.php.
References Vendor\Package\$e, $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().
ilCalendarCategoryGUI::saveSelection | ( | ) |
Definition at line 386 of file class.ilCalendarCategoryGUI.php.
References $ref_id, ilCalendarCategories\_getInstance(), ilCalendarVisibility\_getInstanceByUserId(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), initSelectedCategoryIdsFromPost(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
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().
ilCalendarCategoryGUI::shareAssignEditable | ( | ) |
Share with write access.
Definition at line 562 of file class.ilCalendarCategoryGUI.php.
References shareAssign().
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().
|
protected |
Definition at line 606 of file class.ilCalendarCategoryGUI.php.
References shareAssignRoles().
ilCalendarCategoryGUI::shareDeassign | ( | ) |
Definition at line 650 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), isEditable(), ILIAS\Repository\lng(), readPermissions(), ILIAS\Repository\refinery(), and shareSearch().
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, ilSession\set(), shareSearch(), showRoleList(), showUserList(), ilUtil\stripSlashes(), and ILIAS\Repository\tabs().
Referenced by shareAssign(), and shareAssignRoles().
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().
|
protected |
Definition at line 912 of file class.ilCalendarCategoryGUI.php.
References ilCalendarCategoryAssignments\_getAssignedAppointments(), ilCalendarCategories\_getInstance(), and ILIAS\Repository\lng().
Referenced by details().
|
protected |
Definition at line 698 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by sharePerformSearch().
|
protected |
Definition at line 688 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by sharePerformSearch().
|
protected |
Definition at line 1022 of file class.ilCalendarCategoryGUI.php.
References ilCalendarUserSettings\_getInstance(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
|
protected |
Definition at line 274 of file class.ilCalendarCategoryGUI.php.
References Vendor\Package\$e, ILIAS\Repository\ctrl(), doSynchronisation(), and ILIAS\Repository\lng().
|
protected |
Definition at line 889 of file class.ilCalendarCategoryGUI.php.
References $category_id, checkVisible(), ILIAS\Repository\ctrl(), ilCalendarShared\isSharedWithUser(), ILIAS\Repository\lng(), readPermissions(), and ILIAS\Repository\user().
|
protected |
Definition at line 300 of file class.ilCalendarCategoryGUI.php.
References ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), edit(), ilPropertyFormGUI\getInput(), initFormCategory(), isEditable(), ILIAS\Repository\lng(), readPermissions(), ilPropertyFormGUI\setValuesByPost(), and ilCalendarCategory\TYPE_OBJ.
|
protected |
Definition at line 1195 of file class.ilCalendarCategoryGUI.php.
References ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), doImportFile(), ilPropertyFormGUI\getInput(), ilFileUtils\ilTempnam(), initCategoryIdFromQuery(), initImportForm(), ILIAS\Repository\lng(), and ilFileUtils\moveUploadedFile().
|
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 unshare().
|
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 initFormCategory(), and initImportForm().
|
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.
|
protected |
Definition at line 56 of file class.ilCalendarCategoryGUI.php.
|
private |
Definition at line 36 of file class.ilCalendarCategoryGUI.php.
Referenced by saveSelection().
|
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.
|
protected |
Definition at line 51 of file class.ilCalendarCategoryGUI.php.
|
protected |
Definition at line 57 of file class.ilCalendarCategoryGUI.php.
|
protected |
Definition at line 52 of file class.ilCalendarCategoryGUI.php.
|
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.
|
protected |
Definition at line 32 of file class.ilCalendarCategoryGUI.php.