|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilCalendarViewGUI:
Collaboration diagram for ilCalendarViewGUI:Public Member Functions | |
| __construct (ilDate $seed, int $presentation_type) | |
| setConsulationHoursUserId (int $a_user_id) | |
| getConsultationHoursUserId () | |
| initialize (int $a_calendar_presentation_type) | |
| getCurrentApp () | |
| getEvents () | |
| getDatesForItem ($item) | |
| getModalForApp () | |
| Get modal for appointment (see similar code in ilCalendarBlockGUI) More... | |
| getAppointmentShyButton (ilCalendarEntry $a_calendar_entry, string $a_dstart, string $a_title_forced="") | |
| getActivePlugins (string $a_slot_id) | |
| getModalTitleByPlugins (string $a_current_title) | |
| getContentByPlugins (ilCalendarEntry $a_cal_entry, int $a_start_date, string $a_content, ilTemplate $a_tpl) | |
| addToolbarFileDownload () | |
| Add download link to toolbar. More... | |
| downloadFiles () | |
| Download files related to the appointments showed in the current calendar view (day,week,month,list). More... | |
| getBucketTitle () | |
| get proper label to add in the background task popover More... | |
| countEventsInView () | |
| get the events starting between 2 dates based in seed + view options. More... | |
Data Fields | |
| const | CAL_PRESENTATION_UNDEFINED = 0 |
| const | CAL_PRESENTATION_DAY = 1 |
| const | CAL_PRESENTATION_WEEK = 2 |
| const | CAL_PRESENTATION_MONTH = 3 |
| const | CAL_PRESENTATION_AGENDA_LIST = 9 |
Protected Member Functions | |
| initAppointmentIdFromQuery () | |
| initInitialDateFromQuery () | |
| initInitialDateTimeFromQuery () | |
| initBookingUserFromQuery () | |
Protected Attributes | |
| int | $presentation_type = self::CAL_PRESENTATION_UNDEFINED |
| bool | $view_with_appointments = false |
| ilDate | $seed |
| int | $ch_user_id = 0 |
| string | $period_end_day = null |
| Factory | $ui_factory |
| Renderer | $ui_renderer |
| ilCtrlInterface | $ctrl |
| ilToolbarGUI | $toolbar |
| ilLogger | $logger |
| ILIAS DI UIServices | $ui |
| ilLanguage | $lng |
| ilObjUser | $user |
| ilTemplate | $tpl |
| ilGlobalTemplateInterface | $main_tpl |
| ilComponentFactory | $component_factory |
| ilTabsGUI | $tabs_gui |
| RefineryFactory | $refinery |
| HttpServices | $http |
Definition at line 33 of file class.ilCalendarViewGUI.php.
| ilCalendarViewGUI::__construct | ( | ilDate | $seed, |
| int | $presentation_type | ||
| ) |
Definition at line 62 of file class.ilCalendarViewGUI.php.
References $seed, and initialize().
Here is the call graph for this function:| ilCalendarViewGUI::addToolbarFileDownload | ( | ) |
Add download link to toolbar.
Definition at line 388 of file class.ilCalendarViewGUI.php.
References Vendor\Package\$f, $lng, ILIAS\LTI\ToolProvider\$settings, ilCalendarSettings\_getInstance(), ilToolbarGUI\addComponent(), ilToolbarGUI\addSeparator(), ilCtrlInterface\getLinkTarget(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilCalendarViewGUI::countEventsInView | ( | ) |
get the events starting between 2 dates based in seed + view options.
Definition at line 480 of file class.ilCalendarViewGUI.php.
References ilCalendarAgendaListGUI\getPeriod(), IL_CAL_DATE, IL_CAL_DAY, IL_CAL_MONTH, ilCalendarAgendaListGUI\PERIOD_DAY, ilCalendarAgendaListGUI\PERIOD_HALF_YEAR, ilCalendarAgendaListGUI\PERIOD_MONTH, and ilCalendarAgendaListGUI\PERIOD_WEEK.
Here is the call graph for this function:| ilCalendarViewGUI::downloadFiles | ( | ) |
Download files related to the appointments showed in the current calendar view (day,week,month,list).
Not modals
Definition at line 417 of file class.ilCalendarViewGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilCalendarViewGUI::getActivePlugins | ( | string | $a_slot_id | ) |
| string | $a_slot_id |
Definition at line 322 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarAgendaListGUI\getPluginAgendaItem().
Here is the caller graph for this function:| ilCalendarViewGUI::getAppointmentShyButton | ( | ilCalendarEntry | $a_calendar_entry, |
| string | $a_dstart, | ||
| string | $a_title_forced = "" |
||
| ) |
| ilCalendarEntry | $a_calendar_entry | |
| string | $a_dstart | |
| string | $a_title_forced | //used in plugins to rename the shy button title. |
Definition at line 289 of file class.ilCalendarViewGUI.php.
References ILIAS\Repository\ctrl(), and getConsultationHoursUserId().
Referenced by ilCalendarDayGUI\showAppointment(), ilCalendarWeekGUI\showAppointment(), ilCalendarMonthGUI\showEvents(), ilCalendarDayGUI\showFulldayAppointment(), and ilCalendarWeekGUI\showFulldayAppointment().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarViewGUI::getBucketTitle | ( | ) |
get proper label to add in the background task popover
Definition at line 431 of file class.ilCalendarViewGUI.php.
References ilCalendarUtil\_buildWeekDayList(), ilCalendarUserSettings\_getInstanceByUserId(), IL_CAL_DATE, IL_CAL_FKT_DATE, ILIAS\Repository\lng(), ilCalendarAgendaListGUI\PERIOD_DAY, ilCalendarAgendaListGUI\PERIOD_HALF_YEAR, ilCalendarAgendaListGUI\PERIOD_MONTH, ilCalendarAgendaListGUI\PERIOD_WEEK, and ILIAS\Repository\user().
Here is the call graph for this function:| ilCalendarViewGUI::getConsultationHoursUserId | ( | ) |
Definition at line 73 of file class.ilCalendarViewGUI.php.
References $ch_user_id.
Referenced by getAppointmentShyButton().
Here is the caller graph for this function:| ilCalendarViewGUI::getContentByPlugins | ( | ilCalendarEntry | $a_cal_entry, |
| int | $a_start_date, | ||
| string | $a_content, | ||
| ilTemplate | $a_tpl | ||
| ) |
| ilCalendarEntry | $a_cal_entry | |
| int | $a_start_date | |
| string | $a_content | |
| ilTemplate | $a_tpl | needed to adding elements in the template like extra content inside the event container |
Definition at line 345 of file class.ilCalendarViewGUI.php.
References XapiProxy\$plugin, ilTemplate\get(), IL_CAL_UNIX, ilTemplate\parseCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by ilCalendarDayGUI\showAppointment(), ilCalendarWeekGUI\showAppointment(), ilCalendarMonthGUI\showEvents(), ilCalendarDayGUI\showFulldayAppointment(), and ilCalendarWeekGUI\showFulldayAppointment().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarViewGUI::getCurrentApp | ( | ) |
Definition at line 148 of file class.ilCalendarViewGUI.php.
References getEvents(), and initAppointmentIdFromQuery().
Referenced by ilCalendarDayGUI\executeCommand(), ilCalendarMonthGUI\executeCommand(), and ilCalendarWeekGUI\executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarViewGUI::getDatesForItem | ( | $item | ) |
| $item |
| ilDateTimeException |
Definition at line 236 of file class.ilCalendarViewGUI.php.
References IL_CAL_UNIX.
Referenced by getModalForApp().
Here is the caller graph for this function:| ilCalendarViewGUI::getEvents | ( | ) |
Definition at line 160 of file class.ilCalendarViewGUI.php.
References $seed, $user, CAL_PRESENTATION_AGENDA_LIST, CAL_PRESENTATION_DAY, CAL_PRESENTATION_MONTH, CAL_PRESENTATION_WEEK, ilCalendarAgendaListGUI\getPeriod(), IL_CAL_DATE, IL_CAL_DAY, IL_CAL_MONTH, IL_CAL_WEEK, ilCalendarAgendaListGUI\PERIOD_DAY, ilCalendarAgendaListGUI\PERIOD_HALF_YEAR, ilCalendarAgendaListGUI\PERIOD_MONTH, ilCalendarAgendaListGUI\PERIOD_WEEK, ilCalendarSchedule\TYPE_DAY, ilCalendarSchedule\TYPE_HALF_YEAR, ilCalendarSchedule\TYPE_MONTH, ilCalendarSchedule\TYPE_WEEK, and ILIAS\Repository\user().
Referenced by getCurrentApp(), ilCalendarAgendaListGUI\getHTML(), and getModalForApp().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarViewGUI::getModalForApp | ( | ) |
Get modal for appointment (see similar code in ilCalendarBlockGUI)
Definition at line 254 of file class.ilCalendarViewGUI.php.
References ilCalendarAppointmentPresentationGUI\_getInstance(), ILIAS\Repository\ctrl(), exit, ilDatePresentation\formatPeriod(), getDatesForItem(), getEvents(), getModalTitleByPlugins(), initAppointmentIdFromQuery(), and initInitialDateTimeFromQuery().
Here is the call graph for this function:| ilCalendarViewGUI::getModalTitleByPlugins | ( | string | $a_current_title | ) |
Definition at line 327 of file class.ilCalendarViewGUI.php.
References XapiProxy\$plugin.
Referenced by getModalForApp().
Here is the caller graph for this function:
|
protected |
Definition at line 104 of file class.ilCalendarViewGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by ilCalendarDayGUI\executeCommand(), ilCalendarInboxGUI\executeCommand(), ilCalendarMonthGUI\executeCommand(), ilCalendarWeekGUI\executeCommand(), getCurrentApp(), ilCalendarAgendaListGUI\getHTML(), and getModalForApp().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 137 of file class.ilCalendarViewGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by ilCalendarMonthGUI\__construct(), and ilCalendarDayGUI\show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarViewGUI::initialize | ( | int | $a_calendar_presentation_type | ) |
Reimplemented in ilCalendarDayGUI, ilCalendarInboxGUI, ilCalendarMonthGUI, and ilCalendarWeekGUI.
Definition at line 78 of file class.ilCalendarViewGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), iljQueryUtil\initjQuery(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\refinery(), ILIAS\Repository\toolbar(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 115 of file class.ilCalendarViewGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by ilCalendarDayGUI\executeCommand(), ilCalendarMonthGUI\executeCommand(), and ilCalendarWeekGUI\executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 126 of file class.ilCalendarViewGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by ilCalendarAgendaListGUI\getHTML(), and getModalForApp().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarViewGUI::setConsulationHoursUserId | ( | int | $a_user_id | ) |
Definition at line 68 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 44 of file class.ilCalendarViewGUI.php.
Referenced by getConsultationHoursUserId().
|
protected |
Definition at line 57 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 49 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 60 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 53 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 51 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 56 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 45 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 41 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 59 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 43 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarAgendaListGUI\__construct(), __construct(), getEvents(), and ilCalendarAgendaListGUI\initEndPeriod().
|
protected |
Definition at line 58 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 50 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 55 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 52 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 47 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 48 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 54 of file class.ilCalendarViewGUI.php.
Referenced by getEvents(), ilCalendarAgendaListGUI\getPeriod(), and ilCalendarWeekGUI\showAppointment().
|
protected |
Definition at line 42 of file class.ilCalendarViewGUI.php.
| const ilCalendarViewGUI::CAL_PRESENTATION_AGENDA_LIST = 9 |
Definition at line 39 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarAgendaListGUI\__construct(), ilCalendarInboxGUI\__construct(), and getEvents().
| const ilCalendarViewGUI::CAL_PRESENTATION_DAY = 1 |
Definition at line 36 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarDayGUI\__construct(), and getEvents().
| const ilCalendarViewGUI::CAL_PRESENTATION_MONTH = 3 |
Definition at line 38 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarMonthGUI\__construct(), and getEvents().
| const ilCalendarViewGUI::CAL_PRESENTATION_UNDEFINED = 0 |
Definition at line 35 of file class.ilCalendarViewGUI.php.
| const ilCalendarViewGUI::CAL_PRESENTATION_WEEK = 2 |
Definition at line 37 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarWeekGUI\__construct(), and getEvents().