ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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 32 of file class.ilCalendarViewGUI.php.
ilCalendarViewGUI::__construct | ( | ilDate | $seed, |
int | $presentation_type | ||
) |
Definition at line 61 of file class.ilCalendarViewGUI.php.
References $seed, and initialize().
ilCalendarViewGUI::addToolbarFileDownload | ( | ) |
Add download link to toolbar.
Definition at line 396 of file class.ilCalendarViewGUI.php.
References Vendor\Package\$f, $lng, ilCalendarSettings\_getInstance(), ilToolbarGUI\addComponent(), ilToolbarGUI\addSeparator(), ilCtrlInterface\getLinkTarget(), and ILIAS\Repository\lng().
ilCalendarViewGUI::countEventsInView | ( | ) |
get the events starting between 2 dates based in seed + view options.
Definition at line 488 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.
ilCalendarViewGUI::downloadFiles | ( | ) |
Download files related to the appointments showed in the current calendar view (day,week,month,list).
Not modals
Definition at line 425 of file class.ilCalendarViewGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
ilCalendarViewGUI::getActivePlugins | ( | string | $a_slot_id | ) |
string | $a_slot_id |
Definition at line 330 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarAgendaListGUI\getPluginAgendaItem().
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 283 of file class.ilCalendarViewGUI.php.
References ILIAS\Repository\ctrl(), and getConsultationHoursUserId().
Referenced by ilCalendarDayGUI\showAppointment(), ilCalendarWeekGUI\showAppointment(), ilCalendarMonthGUI\showEvents(), ilCalendarDayGUI\showFulldayAppointment(), and ilCalendarWeekGUI\showFulldayAppointment().
ilCalendarViewGUI::getBucketTitle | ( | ) |
get proper label to add in the background task popover
Definition at line 439 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().
ilCalendarViewGUI::getConsultationHoursUserId | ( | ) |
Definition at line 72 of file class.ilCalendarViewGUI.php.
References $ch_user_id.
Referenced by getAppointmentShyButton().
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 353 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().
ilCalendarViewGUI::getCurrentApp | ( | ) |
Definition at line 147 of file class.ilCalendarViewGUI.php.
References getEvents(), and initAppointmentIdFromQuery().
Referenced by ilCalendarDayGUI\executeCommand(), ilCalendarMonthGUI\executeCommand(), and ilCalendarWeekGUI\executeCommand().
ilCalendarViewGUI::getDatesForItem | ( | $item | ) |
$item |
ilDateTimeException |
Definition at line 230 of file class.ilCalendarViewGUI.php.
References IL_CAL_UNIX.
Referenced by getModalForApp().
ilCalendarViewGUI::getEvents | ( | ) |
Definition at line 159 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().
ilCalendarViewGUI::getModalForApp | ( | ) |
Get modal for appointment (see similar code in ilCalendarBlockGUI)
Definition at line 248 of file class.ilCalendarViewGUI.php.
References ilCalendarAppointmentPresentationGUI\_getInstance(), ILIAS\Repository\ctrl(), exit, ilDatePresentation\formatPeriod(), getDatesForItem(), getEvents(), getModalTitleByPlugins(), initAppointmentIdFromQuery(), initInitialDateTimeFromQuery(), and ILIAS\Repository\lng().
ilCalendarViewGUI::getModalTitleByPlugins | ( | string | $a_current_title | ) |
Definition at line 335 of file class.ilCalendarViewGUI.php.
References XapiProxy\$plugin.
Referenced by getModalForApp().
|
protected |
Definition at line 103 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().
|
protected |
Definition at line 136 of file class.ilCalendarViewGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by ilCalendarMonthGUI\__construct(), and ilCalendarDayGUI\show().
ilCalendarViewGUI::initialize | ( | int | $a_calendar_presentation_type | ) |
Reimplemented in ilCalendarDayGUI, ilCalendarInboxGUI, ilCalendarMonthGUI, and ilCalendarWeekGUI.
Definition at line 77 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().
|
protected |
Definition at line 114 of file class.ilCalendarViewGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by ilCalendarDayGUI\executeCommand(), ilCalendarMonthGUI\executeCommand(), and ilCalendarWeekGUI\executeCommand().
|
protected |
Definition at line 125 of file class.ilCalendarViewGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by ilCalendarAgendaListGUI\getHTML(), and getModalForApp().
ilCalendarViewGUI::setConsulationHoursUserId | ( | int | $a_user_id | ) |
Definition at line 67 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 43 of file class.ilCalendarViewGUI.php.
Referenced by getConsultationHoursUserId().
|
protected |
Definition at line 56 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 48 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 59 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 52 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 44 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 40 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 58 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 42 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarAgendaListGUI\__construct(), __construct(), getEvents(), and ilCalendarAgendaListGUI\initEndPeriod().
|
protected |
Definition at line 57 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 49 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 54 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 51 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 46 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 47 of file class.ilCalendarViewGUI.php.
|
protected |
Definition at line 53 of file class.ilCalendarViewGUI.php.
Referenced by getEvents(), ilCalendarAgendaListGUI\getPeriod(), and ilCalendarWeekGUI\showAppointment().
|
protected |
Definition at line 41 of file class.ilCalendarViewGUI.php.
const ilCalendarViewGUI::CAL_PRESENTATION_AGENDA_LIST = 9 |
Definition at line 38 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarAgendaListGUI\__construct(), ilCalendarInboxGUI\__construct(), and getEvents().
const ilCalendarViewGUI::CAL_PRESENTATION_DAY = 1 |
Definition at line 35 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarDayGUI\__construct(), and getEvents().
const ilCalendarViewGUI::CAL_PRESENTATION_MONTH = 3 |
Definition at line 37 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarMonthGUI\__construct(), and getEvents().
const ilCalendarViewGUI::CAL_PRESENTATION_UNDEFINED = 0 |
Definition at line 34 of file class.ilCalendarViewGUI.php.
const ilCalendarViewGUI::CAL_PRESENTATION_WEEK = 2 |
Definition at line 36 of file class.ilCalendarViewGUI.php.
Referenced by ilCalendarWeekGUI\__construct(), and getEvents().