ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
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... | |
redirectWithParameters (string $class) | |
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 |
Private Attributes | |
UIRenderer | $renderer |
UIFactory | $ui_factory |
Definition at line 34 of file class.ilCalendarPresentationGUI.php.
ilCalendarPresentationGUI::__construct | ( | $a_ref_id = 0 | ) |
Definition at line 64 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(), renderer(), 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 542 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 602 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 202 of file class.ilCalendarPresentationGUI.php.
References $ref_id, $seed, $user_id, 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 480 of file class.ilCalendarPresentationGUI.php.
References $user, ILIAS\Repository\ctrl(), null, ilSession\set(), setCmdClass(), and ILIAS\Repository\user().
Referenced by executeCommand().
ilCalendarPresentationGUI::getNextClass | ( | ) |
Definition at line 419 of file class.ilCalendarPresentationGUI.php.
References ILIAS\Repository\ctrl(), readLastClass(), and redirectWithParameters().
Referenced by executeCommand().
ilCalendarPresentationGUI::getRepositoryMode | ( | ) |
Definition at line 127 of file class.ilCalendarPresentationGUI.php.
References $repository_mode.
Referenced by addCategoryTabs(), addStandardTabs(), executeCommand(), initSeed(), and showSideBlocks().
|
protected |
Definition at line 743 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 158 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 132 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 191 of file class.ilCalendarPresentationGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by __construct().
|
protected |
Definition at line 143 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 758 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 670 of file class.ilCalendarPresentationGUI.php.
References $ctrl, $lng, $tabs_gui, $tpl, ilObjUser\_lookupFullname(), addCategoryTabs(), addStandardTabs(), ilUtil\getImagePath(), ilCtrlInterface\getLinkTargetByClass(), ILIAS\Repository\lng(), renderer(), ILIAS\UICore\GlobalTemplate\setHeaderActionMenu(), ilCtrlInterface\setParameterByClass(), ILIAS\UICore\GlobalTemplate\setTitle(), ILIAS\UICore\GlobalTemplate\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 438 of file class.ilCalendarPresentationGUI.php.
References $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().
|
protected |
Definition at line 474 of file class.ilCalendarPresentationGUI.php.
References ILIAS\Repository\ctrl().
Referenced by getNextClass(), and setCmdClass().
ilCalendarPresentationGUI::setCmdClass | ( | $a_class | ) |
Definition at line 465 of file class.ilCalendarPresentationGUI.php.
References ILIAS\Repository\ctrl(), and redirectWithParameters().
Referenced by executeCommand(), and forwardToClass().
|
protected |
Definition at line 519 of file class.ilCalendarPresentationGUI.php.
References $ref_id, $seed, ILIAS\Repository\ctrl(), ILIAS\UICore\GlobalTemplate\get(), getRepositoryMode(), ILIAS\UICore\GlobalTemplate\setVariable(), and ILIAS\Repository\user().
Referenced by executeCommand().
ilCalendarPresentationGUI::showToolbarAndSidebar | ( | ) |
Definition at line 779 of file class.ilCalendarPresentationGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand().
ilCalendarPresentationGUI::showViewSelection | ( | string | $a_active = "cal_list" | ) |
Definition at line 370 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 45 of file class.ilCalendarPresentationGUI.php.
Referenced by addStandardTabs().
|
protected |
Definition at line 51 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 59 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 50 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 58 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 55 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 52 of file class.ilCalendarPresentationGUI.php.
Referenced by __construct().
|
protected |
Definition at line 36 of file class.ilCalendarPresentationGUI.php.
Referenced by addCategoryTabs(), prepareOutput(), and showViewSelection().
|
protected |
Definition at line 41 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 46 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 37 of file class.ilCalendarPresentationGUI.php.
Referenced by prepareOutput(), and showViewSelection().
|
protected |
Definition at line 42 of file class.ilCalendarPresentationGUI.php.
Referenced by addStandardTabs().
|
protected |
Definition at line 54 of file class.ilCalendarPresentationGUI.php.
Referenced by executeCommand(), initAndRedirectToConsultationHours(), and showSideBlocks().
|
protected |
Definition at line 47 of file class.ilCalendarPresentationGUI.php.
|
private |
Definition at line 61 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 53 of file class.ilCalendarPresentationGUI.php.
Referenced by getRepositoryMode().
Definition at line 56 of file class.ilCalendarPresentationGUI.php.
Referenced by executeCommand(), getRequestedSeedAsString(), and showSideBlocks().
|
protected |
Definition at line 39 of file class.ilCalendarPresentationGUI.php.
Referenced by prepareOutput().
|
protected |
Definition at line 44 of file class.ilCalendarPresentationGUI.php.
Referenced by showViewSelection().
|
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().
|
private |
Definition at line 62 of file class.ilCalendarPresentationGUI.php.
|
protected |
Definition at line 40 of file class.ilCalendarPresentationGUI.php.
Referenced by forwardToClass(), and readLastClass().