ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Public Member Functions | |
__construct (ilDate $seed_date) | |
initialize (int $a_calendar_presentation_type) | |
executeCommand () | |
show () | |
![]() | |
__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... | |
Protected Member Functions | |
showFulldayAppointment (array $a_app) | |
showAppointment (array $a_app) | |
parseHourInfo (array $daily_apps, ilDateTime $date, int $num_day, ?array $hours=null, int $morning_aggr=0, int $evening_aggr=0) | |
calculate overlapping hours protected More... | |
calculateColspans (array $hours) | |
getMorningAggr () | |
addAppointmentLink (ilDateTime $date) | |
setUpCalendar () | |
addHeaderDate ($date, $num_apps) | |
addFullDayEvents ($all_fullday) | |
addTimedEvents (array $hours, int $morning_aggr, int $evening_aggr) | |
getAppointmentTimeString (ilCalendarEntry $a_event) | |
![]() | |
initAppointmentIdFromQuery () | |
initInitialDateFromQuery () | |
initInitialDateTimeFromQuery () | |
initBookingUserFromQuery () | |
Protected Attributes | |
int | $num_appointments = 1 |
ilCalendarUserSettings | $user_settings |
array | $weekdays = array() |
ilCalendarAppointmentColors | $app_colors |
array | $seed_info = [] |
string | $timezone = 'UTC' |
ilCalendarSettings | $cal_settings = null |
array | $colspans = [] |
int | $raster = 15 |
int | $user_id = 0 |
bool | $disable_empty |
bool | $no_add |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
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 |
Definition at line 27 of file class.ilCalendarWeekGUI.php.
ilCalendarWeekGUI::__construct | ( | ilDate | $seed_date | ) |
Definition at line 46 of file class.ilCalendarWeekGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ilCalendarViewGUI\CAL_PRESENTATION_WEEK.
|
protected |
Definition at line 402 of file class.ilCalendarWeekGUI.php.
References ILIAS\Repository\ctrl().
Referenced by show().
|
protected |
Definition at line 456 of file class.ilCalendarWeekGUI.php.
References ILIAS\Repository\lng(), and showFulldayAppointment().
Referenced by show().
|
protected |
Definition at line 435 of file class.ilCalendarWeekGUI.php.
References ilCalendarUtil\_numericDayToString(), ILIAS\Repository\ctrl(), IL_CAL_DATE, IL_CAL_FKT_DATE, and IL_CAL_FKT_GETDATE.
Referenced by show().
|
protected |
Definition at line 475 of file class.ilCalendarWeekGUI.php.
References ILIAS\Repository\ctrl(), IL_CAL_DATE, and showAppointment().
Referenced by show().
|
protected |
Definition at line 381 of file class.ilCalendarWeekGUI.php.
Referenced by show().
ilCalendarWeekGUI::executeCommand | ( | ) |
Definition at line 62 of file class.ilCalendarWeekGUI.php.
References ilCalendarAppointmentPresentationGUI\_getInstance(), ILIAS\Repository\ctrl(), ilSession\get(), ilCalendarViewGUI\getCurrentApp(), IL_CAL_DATE, ilCalendarViewGUI\initAppointmentIdFromQuery(), and ilCalendarViewGUI\initInitialDateFromQuery().
|
protected |
ilCalendarEntry | $a_event |
Definition at line 560 of file class.ilCalendarWeekGUI.php.
References ilCalendarEntry\getStart(), IL_CAL_FKT_DATE, ilCalendarSettings\TIME_FORMAT_12, and ilCalendarSettings\TIME_FORMAT_24.
Referenced by showAppointment().
|
protected |
Definition at line 390 of file class.ilCalendarWeekGUI.php.
Referenced by show().
ilCalendarWeekGUI::initialize | ( | int | $a_calendar_presentation_type | ) |
Definition at line 51 of file class.ilCalendarWeekGUI.php.
References ilCalendarUserSettings\_getInstanceByUserId(), IL_CAL_FKT_GETDATE, and ILIAS\Repository\user().
|
protected |
calculate overlapping hours protected
Definition at line 267 of file class.ilCalendarWeekGUI.php.
References $raster, ilDateTime\get(), IL_CAL_FKT_GETDATE, ilCalendarSettings\TIME_FORMAT_12, and ilCalendarSettings\TIME_FORMAT_24.
Referenced by show().
|
protected |
Definition at line 419 of file class.ilCalendarWeekGUI.php.
References ANONYMOUS_USER_ID, ilCalendarViewGUI\initBookingUserFromQuery(), and ILIAS\Repository\user().
Referenced by show().
ilCalendarWeekGUI::show | ( | ) |
Definition at line 91 of file class.ilCalendarWeekGUI.php.
References $disable_empty, ilCalendarUtil\_buildWeekDayList(), ilCalendarSettings\_getInstance(), addAppointmentLink(), addFullDayEvents(), addHeaderDate(), ilCalendarSchedule\addSubitemCalendars(), addTimedEvents(), calculateColspans(), ILIAS\Repository\ctrl(), getMorningAggr(), IL_CAL_DATE, ilYuiUtil\initDragDrop(), ILIAS\Repository\lng(), null, parseHourInfo(), setUpCalendar(), ilCalendarSchedule\TYPE_WEEK, ILIAS\Repository\user(), and ilDateTime\WEEK.
|
protected |
Definition at line 207 of file class.ilCalendarWeekGUI.php.
References ilCalendarViewGUI\$user, ilCalendarUtil\calculateFontColor(), ILIAS\Repository\ctrl(), ilCalendarViewGUI\getAppointmentShyButton(), getAppointmentTimeString(), and ilCalendarViewGUI\getContentByPlugins().
Referenced by addTimedEvents().
|
protected |
Definition at line 171 of file class.ilCalendarWeekGUI.php.
References ilCalendarUtil\calculateFontColor(), ILIAS\Repository\ctrl(), ilCalendarViewGUI\getAppointmentShyButton(), and ilCalendarViewGUI\getContentByPlugins().
Referenced by addFullDayEvents().
|
protected |
Definition at line 33 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 36 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 37 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 43 of file class.ilCalendarWeekGUI.php.
Referenced by show().
|
protected |
Definition at line 44 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 29 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 40 of file class.ilCalendarWeekGUI.php.
Referenced by parseHourInfo().
|
protected |
Definition at line 34 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 35 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 42 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 30 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 31 of file class.ilCalendarWeekGUI.php.