| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 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 397 of file class.ilCalendarViewGUI.php.
References $ctrl, Vendor\Package\$f, $lng, $toolbar, $ui_factory, ilCalendarSettings\_getInstance(), ilToolbarGUI\addComponent(), ilToolbarGUI\addSeparator(), countEventsInView(), 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 489 of file class.ilCalendarViewGUI.php.
References $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 addToolbarFileDownload().
 Here is the call 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 426 of file class.ilCalendarViewGUI.php.
References ILIAS\Repository\ctrl(), getBucketTitle(), getEvents(), ILIAS\Repository\lng(), ilDownloadFilesBackgroundTask\setBucketTitle(), 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 331 of file class.ilCalendarViewGUI.php.
Referenced by getContentByPlugins(), getModalTitleByPlugins(), and 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 284 of file class.ilCalendarViewGUI.php.
References $url, ILIAS\Repository\ctrl(), getConsultationHoursUserId(), ilCalendarEntry\getEntryId(), ilCalendarEntry\getPresentationTitle(), ilCalendarEntry\getStart(), IL_CAL_DATE, IL_CAL_FKT_DATE, initAppointmentIdFromQuery(), initInitialDateTimeFromQuery(), ilCalendarSettings\TIME_FORMAT_12, and ilCalendarSettings\TIME_FORMAT_24.
Referenced by getContentByPlugins(), ilCalendarWeekGUI\showAppointment(), ilCalendarDayGUI\showAppointment(), ilCalendarMonthGUI\showEvents(), ilCalendarWeekGUI\showFulldayAppointment(), and ilCalendarDayGUI\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 440 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().
Referenced by downloadFiles().
 Here is the call graph for this function:
 Here is the caller 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 354 of file class.ilCalendarViewGUI.php.
References XapiProxy\$plugin, ilTemplate\get(), getActivePlugins(), getAppointmentShyButton(), IL_CAL_UNIX, ilTemplate\parseCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by ilCalendarWeekGUI\showAppointment(), ilCalendarDayGUI\showAppointment(), ilCalendarMonthGUI\showEvents(), ilCalendarWeekGUI\showFulldayAppointment(), and ilCalendarDayGUI\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(), ilCalendarWeekGUI\executeCommand(), and ilCalendarAgendaListGUI\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 231 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, 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 countEventsInView(), downloadFiles(), 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 249 of file class.ilCalendarViewGUI.php.
References ilCalendarAppointmentPresentationGUI\_getInstance(), ILIAS\Repository\ctrl(), exit, ilDatePresentation\formatPeriod(), getDatesForItem(), getEvents(), getModalTitleByPlugins(), initAppointmentIdFromQuery(), initInitialDateTimeFromQuery(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilCalendarViewGUI::getModalTitleByPlugins | ( | string | $a_current_title | ) | 
Definition at line 336 of file class.ilCalendarViewGUI.php.
References XapiProxy\$plugin, and getActivePlugins().
Referenced by getModalForApp().
 Here is the call graph for this function:
 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(), ilCalendarMonthGUI\executeCommand(), ilCalendarInboxGUI\executeCommand(), ilCalendarWeekGUI\executeCommand(), getAppointmentShyButton(), 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(), ilCalendarWeekGUI\setUpCalendar(), 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 | ) | 
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 getAppointmentShyButton(), 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.
Referenced by addToolbarFileDownload().
      
  | 
  protected | 
Definition at line 60 of file class.ilCalendarViewGUI.php.
      
  | 
  protected | 
Definition at line 53 of file class.ilCalendarViewGUI.php.
Referenced by addToolbarFileDownload().
      
  | 
  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 __construct(), countEventsInView(), getEvents(), and ilCalendarAgendaListGUI\initEndPeriod().
      
  | 
  protected | 
Definition at line 58 of file class.ilCalendarViewGUI.php.
      
  | 
  protected | 
Definition at line 50 of file class.ilCalendarViewGUI.php.
Referenced by addToolbarFileDownload().
      
  | 
  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.
Referenced by addToolbarFileDownload().
      
  | 
  protected | 
Definition at line 48 of file class.ilCalendarViewGUI.php.
      
  | 
  protected | 
Definition at line 54 of file class.ilCalendarViewGUI.php.
Referenced by 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(), and ilCalendarInboxGUI\__construct().
| const ilCalendarViewGUI::CAL_PRESENTATION_DAY = 1 | 
Definition at line 36 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarDayGUI\__construct().
| const ilCalendarViewGUI::CAL_PRESENTATION_MONTH = 3 | 
Definition at line 38 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarMonthGUI\__construct().
| 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().