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 ($a_ref_id=0) | |
getRepositoryMode () | |
executeCommand () | |
showViewSelection (string $a_active="cal_list") | |
getNextClass () | |
readLastClass () | |
Read last class from history. More... | |
setCmdClass ($a_class) | |
initSeed () | |
init the seed date for presentations (month view, minicalendar) More... | |
showToolbarAndSidebar () | |
Protected Member Functions | |
initAppointmentIdFromQuery () | |
initCategoryIdFromQuery () | |
initAndRedirectToConsultationHours () | |
Init and redirect to consultation hours. More... | |
initCalendarView () | |
Initialises calendar view according to given settings. More... | |
forwardToClass (string $a_class) | |
showSideBlocks () | |
addCategoryTabs () | |
Add tabs for ilCategoryGUI context This cannot be done there since many views (Day Week Agenda) are initiated from these view. More... | |
addStandardTabs () | |
add standard tabs More... | |
prepareOutput () | |
getRequestedSeedAsString () | |
Protected Attributes | |
ilCtrlInterface | $ctrl |
ilLanguage | $lng |
ilGlobalTemplateInterface | $tpl |
ilTabsGUI | $tabs_gui |
ilObjUser | $user |
ilHelpGUI | $help |
ilRbacSystem | $rbacsystem |
ILIAS DI UIServices | $ui |
ilToolbarGUI | $toolbar |
ilAccessHandler | $access |
HttpServices | $http |
RefineryFactory | $refinery |
ilCalendarSettings | $cal_settings |
ilCalendarActions | $actions |
ilCalendarCategories | $cats |
bool | $repository_mode = false |
int | $ref_id = 0 |
int | $category_id = 0 |
ilDate | $seed = null |
int | $cal_view = 0 |
int | $cal_period = 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
Definition at line 33 of file class.ilCalendarPresentationGUI.php.
ilCalendarPresentationGUI::__construct | ( | $a_ref_id = 0 | ) |
Definition at line 60 of file class.ilCalendarPresentationGUI.php.
References $cats, $DIC, ilCalendarUserSettings\_getInstance(), ilCalendarCategories\_getInstance(), ilCalendarSettings\_getInstance(), ilCalendarCategory\_getInstanceByObjId(), ilCalendarVisibility\_getInstanceByUserId(), ilObject\_lookupObjId(), ILIAS\Repository\access(), ilCalendarUserSettings\CAL_SELECTION_MEMBERSHIP, ILIAS\Repository\ctrl(), ilCalendarActions\getInstance(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), initCalendarView(), ilCalendarCategories\initialize(), ILIAS\Repository\lng(), ilCalendarCategories\MODE_PERSONAL_DESKTOP_ITEMS, ilCalendarCategories\MODE_PERSONAL_DESKTOP_MEMBERSHIP, ilCalendarCategories\MODE_REPOSITORY, ilCalendarCategories\MODE_SINGLE_CALENDAR, ILIAS\Repository\refinery(), ILIAS\Repository\toolbar(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
|
protected |
Add tabs for ilCategoryGUI context This cannot be done there since many views (Day Week Agenda) are initiated from these view.
Definition at line 525 of file class.ilCalendarPresentationGUI.php.
References $ctrl, ilObject\_lookupType(), ilCtrlInterface\clearParameterByClass(), ILIAS\Repository\ctrl(), ilCtrlInterface\getLinkTargetByClass(), getRepositoryMode(), ILIAS\FileDelivery\http(), initCategoryIdFromQuery(), ILIAS\Repository\lng(), and ilCtrlInterface\setParameterByClass().
Referenced by prepareOutput().
|
protected |
add standard tabs
Definition at line 586 of file class.ilCalendarPresentationGUI.php.
References $access, $rbacsystem, ilCalendarSettings\_getInstance(), ilCalendarCategory\_getInstanceByObjId(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilRBACAccessHandler\checkAccess(), ILIAS\Repository\ctrl(), getRepositoryMode(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().
Referenced by prepareOutput().
ilCalendarPresentationGUI::executeCommand | ( | ) |
Definition at line 195 of file class.ilCalendarPresentationGUI.php.
References $app, $ref_id, $seed, ilCalendarSettings\_getInstance(), ILIAS\Repository\ctrl(), forwardToClass(), ilSession\get(), getNextClass(), getRepositoryMode(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), initAndRedirectToConsultationHours(), initAppointmentIdFromQuery(), initSeed(), ILIAS\Repository\lng(), prepareOutput(), readLastClass(), ilUtil\redirect(), ILIAS\Repository\refinery(), setCmdClass(), showSideBlocks(), showToolbarAndSidebar(), showViewSelection(), and ILIAS\Repository\user().
|
protected |
Definition at line 463 of file class.ilCalendarPresentationGUI.php.
References $ilUser, $user, ILIAS\Repository\ctrl(), ilSession\set(), setCmdClass(), and ILIAS\Repository\user().
Referenced by executeCommand().
ilCalendarPresentationGUI::getNextClass | ( | ) |
Definition at line 408 of file class.ilCalendarPresentationGUI.php.
References ILIAS\Repository\ctrl(), and readLastClass().
Referenced by executeCommand().
ilCalendarPresentationGUI::getRepositoryMode | ( | ) |
Definition at line 120 of file class.ilCalendarPresentationGUI.php.
References $repository_mode.
Referenced by addCategoryTabs(), addStandardTabs(), executeCommand(), initSeed(), and showSideBlocks().
|
protected |
Definition at line 733 of file class.ilCalendarPresentationGUI.php.
References $seed, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by initAndRedirectToConsultationHours(), and initSeed().
|
protected |
Init and redirect to consultation hours.
Definition at line 151 of file class.ilCalendarPresentationGUI.php.
References $ref_id, ilCalendarVisibility\_getInstanceByUserId(), ILIAS\Repository\ctrl(), getRequestedSeedAsString(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), ilCalendarCategory\TYPE_CH, and ILIAS\Repository\user().
Referenced by executeCommand().
|
protected |
Definition at line 125 of file class.ilCalendarPresentationGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by executeCommand().
|
protected |
Initialises calendar view according to given settings.
Definition at line 184 of file class.ilCalendarPresentationGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by __construct().
|
protected |
Definition at line 136 of file class.ilCalendarPresentationGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by addCategoryTabs().
ilCalendarPresentationGUI::initSeed | ( | ) |
init the seed date for presentations (month view, minicalendar)
Definition at line 748 of file class.ilCalendarPresentationGUI.php.
References ILIAS\Repository\ctrl(), ilSession\get(), getRepositoryMode(), getRequestedSeedAsString(), IL_CAL_DATE, IL_CAL_UNIX, and ilSession\set().
Referenced by executeCommand().
|
protected |
Definition at line 654 of file class.ilCalendarPresentationGUI.php.
References $ctrl, $lng, $tabs_gui, $tpl, ilObjUser\_lookupFullname(), addCategoryTabs(), addStandardTabs(), ilAdvancedSelectionListGUI\DOWN_ARROW_DARK, ilUtil\getImagePath(), ilCtrlInterface\getLinkTargetByClass(), ILIAS\Repository\lng(), ilGlobalTemplateInterface\setHeaderActionMenu(), ilCtrlInterface\setParameterByClass(), ilGlobalTemplateInterface\setTitle(), ilGlobalTemplateInterface\setTitleIcon(), ilCalendarCategory\TYPE_BOOK, ilCalendarCategory\TYPE_CH, ilCalendarCategory\TYPE_GLOBAL, ilCalendarCategory\TYPE_OBJ, and ilCalendarCategory\TYPE_USR.
Referenced by executeCommand().
ilCalendarPresentationGUI::readLastClass | ( | ) |
Read last class from history.
Definition at line 427 of file class.ilCalendarPresentationGUI.php.
References $ilUser, $user, ilCalendarSettings\DEFAULT_CAL_DAY, ilCalendarSettings\DEFAULT_CAL_LIST, ilCalendarSettings\DEFAULT_CAL_MONTH, ilCalendarSettings\DEFAULT_CAL_WEEK, ILIAS\FileDelivery\http(), and ILIAS\Repository\user().
Referenced by executeCommand(), and getNextClass().
ilCalendarPresentationGUI::setCmdClass | ( | $a_class | ) |
Definition at line 454 of file class.ilCalendarPresentationGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand(), and forwardToClass().
|
protected |
Definition at line 502 of file class.ilCalendarPresentationGUI.php.
References $ref_id, $seed, ILIAS\Repository\ctrl(), ilGlobalTemplateInterface\get(), getRepositoryMode(), ilGlobalTemplateInterface\setVariable(), and ILIAS\Repository\user().
Referenced by executeCommand().
ilCalendarPresentationGUI::showToolbarAndSidebar | ( | ) |
Definition at line 769 of file class.ilCalendarPresentationGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand().
ilCalendarPresentationGUI::showViewSelection | ( | string | $a_active = "cal_list" | ) |
Definition at line 359 of file class.ilCalendarPresentationGUI.php.
References $ctrl, Vendor\Package\$f, $lng, $toolbar, $ui, ilToolbarGUI\addComponent(), ilToolbarGUI\addSeparator(), ilCtrlInterface\getLinkTargetByClass(), IL_CAL_DATE, IL_CAL_UNIX, ILIAS\Repository\lng(), and ilCtrlInterface\setParameterByClass().
Referenced by executeCommand().
|
protected |
Definition at line 44 of file class.ilCalendarPresentationGUI.php.
Referenced by addStandardTabs().
|
protected |
Definition at line 50 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 58 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 49 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 57 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 54 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 51 of file class.ilCalendarPresentationGUI.php.
Referenced by __construct().
|
protected |
Definition at line 35 of file class.ilCalendarPresentationGUI.php.
Referenced by addCategoryTabs(), prepareOutput(), and showViewSelection().
|
protected |
Definition at line 40 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 45 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 36 of file class.ilCalendarPresentationGUI.php.
Referenced by prepareOutput(), and showViewSelection().
|
protected |
Definition at line 41 of file class.ilCalendarPresentationGUI.php.
Referenced by addStandardTabs().
|
protected |
Definition at line 53 of file class.ilCalendarPresentationGUI.php.
Referenced by executeCommand(), initAndRedirectToConsultationHours(), and showSideBlocks().
|
protected |
Definition at line 46 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 52 of file class.ilCalendarPresentationGUI.php.
Referenced by getRepositoryMode().
|
protected |
Definition at line 55 of file class.ilCalendarPresentationGUI.php.
Referenced by executeCommand(), getRequestedSeedAsString(), and showSideBlocks().
|
protected |
Definition at line 38 of file class.ilCalendarPresentationGUI.php.
Referenced by prepareOutput().
|
protected |
Definition at line 43 of file class.ilCalendarPresentationGUI.php.
Referenced by showViewSelection().
|
protected |
Definition at line 37 of file class.ilCalendarPresentationGUI.php.
Referenced by prepareOutput().
|
protected |
Definition at line 42 of file class.ilCalendarPresentationGUI.php.
Referenced by showViewSelection().
|
protected |
Definition at line 39 of file class.ilCalendarPresentationGUI.php.
Referenced by forwardToClass(), and readLastClass().