| ILIAS
    release_5-3 Revision v5.3.23-19-g915713cf615
    | 
 Inheritance diagram for ilCalendarViewGUI:
 Inheritance diagram for ilCalendarViewGUI: Collaboration diagram for ilCalendarViewGUI:
 Collaboration diagram for ilCalendarViewGUI:| Public Member Functions | |
| __construct (ilDate $seed, $presentation_type) | |
| setConsulationHoursUserId ($a_user_id) | |
| getConsultationHoursUserId () | |
| initialize ($a_calendar_presentation_type) | |
| View initialization.  More... | |
| getCurrentApp () | |
| Get app for id.  More... | |
| getEvents () | |
| Get events.  More... | |
| getDatesForItem ($item) | |
| Get start/end date for item.  More... | |
| getModalForApp () | |
| Get modal for appointment (see similar code in ilCalendarBlockGUI)  More... | |
| getAppointmentShyButton ($a_calendar_entry, $a_dstart, $a_title_forced="") | |
| getActivePlugins ($a_slot_id) | |
| getModalTitleByPlugins ($a_current_title) | |
| getContentByPlugins ($a_cal_entry, $a_start_date, $a_content, $a_tpl) | |
| addToolbarActions () | |
| 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_DAY = 1 | 
| const | CAL_PRESENTATION_WEEK = 2 | 
| const | CAL_PRESENTATION_MONTH = 3 | 
| const | CAL_PRESENTATION_AGENDA_LIST = 9 | 
| Protected Attributes | |
| $ui_factory | |
| $ui_renderer | |
| $ctrl | |
| $presentation_type | |
| $toolbar | |
| $logger | |
| $ui | |
| $view_with_appointments | |
| $lng | |
| $user | |
| $seed | |
| $ch_user_id = 0 | |
Definition at line 10 of file class.ilCalendarViewGUI.php.
| ilCalendarViewGUI::__construct | ( | ilDate | $seed, | 
| $presentation_type | |||
| ) | 
| ilDate | $seed | |
| int | $presentation_type | 
Definition at line 84 of file class.ilCalendarViewGUI.php.
References $presentation_type, $seed, and initialize().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCalendarViewGUI::addToolbarActions | ( | ) | 
Add download link to toolbar.
//TODO rename this method to something like addToolbarDonwloadFiles
return
Definition at line 400 of file class.ilCalendarViewGUI.php.
References $ctrl, $lng, $toolbar, $ui_factory, ilCalendarSettings\_getInstance(), and countEventsInView().
 Here is the call graph for this function:
 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 517 of file class.ilCalendarViewGUI.php.
References $end, $seed, getEvents(), 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.
Referenced by addToolbarActions().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller 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 428 of file class.ilCalendarViewGUI.php.
References $GLOBALS, getBucketTitle(), getEvents(), ilUtil\sendSuccess(), and user().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCalendarViewGUI::getActivePlugins | ( | $a_slot_id | ) | 
Definition at line 323 of file class.ilCalendarViewGUI.php.
References $res, and IL_COMP_SERVICE.
Referenced by getContentByPlugins(), getModalTitleByPlugins(), and ilCalendarAgendaListGUI\getPluginAgendaItem().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarViewGUI::getAppointmentShyButton | ( | $a_calendar_entry, | |
| $a_dstart, | |||
| $a_title_forced = "" | |||
| ) | 
| $a_calendar_entry | ||
| $a_dstart | ||
| string | $a_title_forced | //used in plugins to rename the shy button title. | 
Definition at line 290 of file class.ilCalendarViewGUI.php.
References $_GET, $r, $title, $ui_factory, $ui_renderer, $url, getConsultationHoursUserId(), and IL_CAL_DATE.
Referenced by getContentByPlugins(), ilCalendarDayGUI\showAppointment(), ilCalendarWeekGUI\showAppointment(), ilCalendarMonthGUI\showEvents(), ilCalendarDayGUI\showFulldayAppointment(), and ilCalendarWeekGUI\showFulldayAppointment().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 445 of file class.ilCalendarViewGUI.php.
References ilCalendarUtil\_buildWeekDayList(), ilCalendarUserSettings\_getInstanceByUserId(), CAL_PRESENTATION_AGENDA_LIST, CAL_PRESENTATION_DAY, CAL_PRESENTATION_MONTH, CAL_PRESENTATION_WEEK, ilSession\get(), IL_CAL_DATE, IL_CAL_FKT_DATE, ilCalendarAgendaListGUI\PERIOD_DAY, ilCalendarAgendaListGUI\PERIOD_HALF_YEAR, ilCalendarAgendaListGUI\PERIOD_MONTH, ilCalendarAgendaListGUI\PERIOD_WEEK, and user().
Referenced by downloadFiles().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarViewGUI::getConsultationHoursUserId | ( | ) | 
Definition at line 99 of file class.ilCalendarViewGUI.php.
References $ch_user_id.
Referenced by getAppointmentShyButton().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarViewGUI::getContentByPlugins | ( | $a_cal_entry, | |
| $a_start_date, | |||
| $a_content, | |||
| $a_tpl | |||
| ) | 
| $a_cal_entry | |
| $a_start_date | |
| $a_content | |
| $a_tpl | needed to adding elements in the template like extra content inside the event container | 
Definition at line 359 of file class.ilCalendarViewGUI.php.
References $a_content, getActivePlugins(), and getAppointmentShyButton().
Referenced by ilCalendarDayGUI\showAppointment(), ilCalendarWeekGUI\showAppointment(), ilCalendarMonthGUI\showEvents(), ilCalendarDayGUI\showFulldayAppointment(), and ilCalendarWeekGUI\showFulldayAppointment().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarViewGUI::getCurrentApp | ( | ) | 
Get app for id.
return
Definition at line 142 of file class.ilCalendarViewGUI.php.
References $_GET, and getEvents().
Referenced by ilCalendarDayGUI\executeCommand(), ilCalendarMonthGUI\executeCommand(), and ilCalendarWeekGUI\executeCommand().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarViewGUI::getDatesForItem | ( | $item | ) | 
Get start/end date for item.
| array | $item | item | 
Definition at line 234 of file class.ilCalendarViewGUI.php.
References $end, and IL_CAL_UNIX.
Referenced by getModalForApp().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarViewGUI::getEvents | ( | ) | 
Get events.
return
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 user().
Referenced by countEventsInView(), downloadFiles(), getCurrentApp(), ilCalendarAgendaListGUI\getHTML(), and getModalForApp().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller 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 251 of file class.ilCalendarViewGUI.php.
References $_GET, $ctrl, $r, $ui_factory, $ui_renderer, ilCalendarAppointmentPresentationGUI\_getInstance(), exit, ilDatePresentation\formatPeriod(), getDatesForItem(), getEvents(), and getModalTitleByPlugins().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCalendarViewGUI::getModalTitleByPlugins | ( | $a_current_title | ) | 
Definition at line 341 of file class.ilCalendarViewGUI.php.
References getActivePlugins().
Referenced by getModalForApp().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarViewGUI::initialize | ( | $a_calendar_presentation_type | ) | 
View initialization.
| integer | $a_calendar_presentation_type | 
Definition at line 112 of file class.ilCalendarViewGUI.php.
References $DIC, $GLOBALS, iljQueryUtil\initjQuery(), and user().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarViewGUI::setConsulationHoursUserId | ( | $a_user_id | ) | 
Definition at line 91 of file class.ilCalendarViewGUI.php.
| 
 | protected | 
Definition at line 75 of file class.ilCalendarViewGUI.php.
Referenced by getConsultationHoursUserId().
| 
 | protected | 
Definition at line 30 of file class.ilCalendarViewGUI.php.
Referenced by addToolbarActions(), and getModalForApp().
| 
 | protected | 
Definition at line 60 of file class.ilCalendarViewGUI.php.
Referenced by addToolbarActions().
| 
 | protected | 
Definition at line 45 of file class.ilCalendarViewGUI.php.
| 
 | protected | 
Definition at line 35 of file class.ilCalendarViewGUI.php.
Referenced by __construct().
| 
 | protected | 
Definition at line 70 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarAgendaListGUI\__construct(), __construct(), countEventsInView(), and getEvents().
| 
 | protected | 
Definition at line 40 of file class.ilCalendarViewGUI.php.
Referenced by addToolbarActions().
| 
 | protected | 
Definition at line 50 of file class.ilCalendarViewGUI.php.
| 
 | protected | 
Definition at line 20 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarWeekGUI\addTimedEvents(), addToolbarActions(), getAppointmentShyButton(), getModalForApp(), and ilCalendarDayGUI\showFulldayAppointment().
| 
 | protected | 
Definition at line 25 of file class.ilCalendarViewGUI.php.
Referenced by getAppointmentShyButton(), getModalForApp(), and ilCalendarDayGUI\showFulldayAppointment().
| 
 | protected | 
Definition at line 65 of file class.ilCalendarViewGUI.php.
Referenced by getEvents().
| 
 | protected | 
Definition at line 55 of file class.ilCalendarViewGUI.php.
| const ilCalendarViewGUI::CAL_PRESENTATION_AGENDA_LIST = 9 | 
Definition at line 15 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarAgendaListGUI\__construct(), ilCalendarInboxGUI\__construct(), getBucketTitle(), and getEvents().
| const ilCalendarViewGUI::CAL_PRESENTATION_DAY = 1 | 
Definition at line 12 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarDayGUI\__construct(), getBucketTitle(), and getEvents().
| const ilCalendarViewGUI::CAL_PRESENTATION_MONTH = 3 | 
Definition at line 14 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarMonthGUI\__construct(), getBucketTitle(), and getEvents().
| const ilCalendarViewGUI::CAL_PRESENTATION_WEEK = 2 | 
Definition at line 13 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarWeekGUI\__construct(), getBucketTitle(), and getEvents().