|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Inheritance diagram for ilCalendarWeekGUI:
Collaboration diagram for ilCalendarWeekGUI:Public Member Functions | |
| __construct (ilDate $seed_date) | |
| Constructor. More... | |
| executeCommand () | |
| Execute command. More... | |
| show () | |
| fill data section More... | |
Public Member Functions inherited from ilCalendarViewGUI | |
| __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... | |
Protected Member Functions | |
| showFulldayAppointment ($a_app) | |
| show fullday appointment More... | |
| showAppointment ($a_app) | |
| show appointment More... | |
| parseHourInfo ($daily_apps, $date, $num_day, $hours=null, $morning_aggr, $evening_aggr) | |
| calculate overlapping hours More... | |
| calculateColspans ($hours) | |
| calculate colspan More... | |
| getMorningAggr () | |
| addAppointmentLink ($date) | |
| Add the links to create an appointment or milestone. More... | |
| setUpCalendar () | |
| Set values for: user_id, disable_empty, no_add. More... | |
| addHeaderDate ($date, $num_apps) | |
| addFullDayEvents ($all_fullday) | |
| addTimedEvents ($hours, $morning_aggr, $evening_aggr) | |
| getAppointmentTimeString (ilCalendarEntry $a_event) | |
Protected Attributes | |
| $num_appointments = 1 | |
| $user_settings = null | |
| $weekdays = array() | |
| $lng | |
| $ctrl | |
| $tabs_gui | |
| $tpl | |
| $timezone = 'UTC' | |
| $user | |
| $cal_settings | |
| $colspans | |
| $raster = 15 | |
| $user_id | |
| $disable_empty | |
| $no_add | |
Protected Attributes inherited from ilCalendarViewGUI | |
| $ui_factory | |
| $ui_renderer | |
| $ctrl | |
| $presentation_type | |
| $toolbar | |
| $logger | |
| $ui | |
| $view_with_appointments | |
| $lng | |
| $user | |
| $seed | |
| $ch_user_id = 0 | |
Additional Inherited Members | |
Data Fields inherited from ilCalendarViewGUI | |
| const | CAL_PRESENTATION_DAY = 1 |
| const | CAL_PRESENTATION_WEEK = 2 |
| const | CAL_PRESENTATION_MONTH = 3 |
| const | CAL_PRESENTATION_AGENDA_LIST = 9 |
@ilCtrl_Calls ilCalendarWeekGUI: ilCalendarAppointmentGUI @ilCtrl_Calls ilCalendarWeekGUI: ilCalendarAppointmentPresentationGUI
Definition at line 14 of file class.ilCalendarWeekGUI.php.
| ilCalendarWeekGUI::__construct | ( | ilDate | $seed_date | ) |
Constructor.
@access public
xrefitem todo 136.
Definition at line 45 of file class.ilCalendarWeekGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), ilCalendarUserSettings\_getInstanceByUserId(), ilCalendarViewGUI\CAL_PRESENTATION_WEEK, IL_CAL_FKT_GETDATE, and user().
Here is the call graph for this function:
|
protected |
Add the links to create an appointment or milestone.
| $date |
Definition at line 477 of file class.ilCalendarWeekGUI.php.
References IL_CAL_UNIX.
Referenced by show().
Here is the caller graph for this function:
|
protected |
| array | $all_fullday | array with all full day events |
Definition at line 553 of file class.ilCalendarWeekGUI.php.
References showFulldayAppointment().
Referenced by show().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| $date | |
| $num_apps |
Definition at line 529 of file class.ilCalendarWeekGUI.php.
References ilCalendarUtil\_numericDayToString(), IL_CAL_DATE, IL_CAL_FKT_DATE, and IL_CAL_FKT_GETDATE.
Referenced by show().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| $hours | |
| $morning_aggr | |
| $evening_aggr |
Definition at line 577 of file class.ilCalendarWeekGUI.php.
References $app, $DIC, $i, ilCalendarViewGUI\$ui_factory, IL_CAL_DATE, showAppointment(), and user().
Referenced by show().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
calculate colspan
@access protected
return
Definition at line 440 of file class.ilCalendarWeekGUI.php.
Referenced by show().
Here is the caller graph for this function:| ilCalendarWeekGUI::executeCommand | ( | ) |
Execute command.
@access public
Definition at line 63 of file class.ilCalendarWeekGUI.php.
References $_GET, $_SESSION, $app, $DIC, $tpl, ilCalendarAppointmentPresentationGUI\_getInstance(), ilCalendarViewGUI\getCurrentApp(), and IL_CAL_DATE.
Here is the call graph for this function:
|
protected |
| ilCalendarEntry | $a_event |
Definition at line 678 of file class.ilCalendarWeekGUI.php.
References ilCalendarEntry\getEnd(), ilCalendarEntry\getStart(), IL_CAL_FKT_DATE, ilCalendarSettings\TIME_FORMAT_12, ilCalendarSettings\TIME_FORMAT_24, and user().
Referenced by showAppointment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 461 of file class.ilCalendarWeekGUI.php.
Referenced by show().
Here is the caller graph for this function:
|
protected |
calculate overlapping hours
@access protected
Definition at line 323 of file class.ilCalendarWeekGUI.php.
References $app, $DIC, $i, $ilUser, $raster, IL_CAL_FKT_GETDATE, ilCalendarSettings\TIME_FORMAT_12, and ilCalendarSettings\TIME_FORMAT_24.
Referenced by show().
Here is the caller graph for this function:
|
protected |
Set values for: user_id, disable_empty, no_add.
Definition at line 508 of file class.ilCalendarWeekGUI.php.
References $_GET, ANONYMOUS_USER_ID, and user().
Referenced by show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarWeekGUI::show | ( | ) |
fill data section
@access public
Definition at line 110 of file class.ilCalendarWeekGUI.php.
References ilCalendarUtil\_buildWeekDayList(), ilCalendarSettings\_getInstance(), addAppointmentLink(), addFullDayEvents(), addHeaderDate(), addTimedEvents(), calculateColspans(), getMorningAggr(), IL_CAL_DATE, ilYuiUtil\initDragDrop(), parseHourInfo(), setUpCalendar(), ilCalendarSchedule\TYPE_WEEK, and ilDateTime\WEEK.
Here is the call graph for this function:
|
protected |
show appointment
@access protected
| array | appointment |
Definition at line 250 of file class.ilCalendarWeekGUI.php.
References $ilUser, $user, ilCalendarUtil\calculateFontColor(), ilCalendarViewGUI\getAppointmentShyButton(), getAppointmentTimeString(), and ilCalendarViewGUI\getContentByPlugins().
Referenced by addTimedEvents().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
show fullday appointment
@access protected
| array | appointment |
Definition at line 196 of file class.ilCalendarWeekGUI.php.
References ilCalendarUtil\calculateFontColor(), ilCalendarViewGUI\getAppointmentShyButton(), ilCalendarViewGUI\getContentByPlugins(), and ilUtil\getImagePath().
Referenced by addFullDayEvents().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 28 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 29 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 21 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 35 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 20 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 36 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 16 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 32 of file class.ilCalendarWeekGUI.php.
Referenced by parseHourInfo().
|
protected |
Definition at line 22 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 25 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 23 of file class.ilCalendarWeekGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 27 of file class.ilCalendarWeekGUI.php.
Referenced by showAppointment().
|
protected |
Definition at line 34 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 17 of file class.ilCalendarWeekGUI.php.
|
protected |
Definition at line 18 of file class.ilCalendarWeekGUI.php.