ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 |
ilCalendarWeekGUI: ilCalendarAppointmentGUI ilCalendarWeekGUI: ilCalendarAppointmentPresentationGUI
Definition at line 14 of file class.ilCalendarWeekGUI.php.
ilCalendarWeekGUI::__construct | ( | ilDate | $seed_date | ) |
Constructor.
public
Definition at line 45 of file class.ilCalendarWeekGUI.php.
References ilCalendarUserSettings\_getInstanceByUserId(), ilCalendarViewGUI\CAL_PRESENTATION_WEEK, IL_CAL_FKT_GETDATE, and user().
|
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().
|
protected |
array | $all_fullday | array with all full day events |
Definition at line 553 of file class.ilCalendarWeekGUI.php.
References showFulldayAppointment().
Referenced by show().
|
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().
|
protected |
$hours | |
$morning_aggr | |
$evening_aggr |
Definition at line 577 of file class.ilCalendarWeekGUI.php.
References $DIC, $i, ilCalendarViewGUI\$ui_factory, IL_CAL_DATE, showAppointment(), and user().
Referenced by show().
|
protected |
calculate colspan
protected
Definition at line 440 of file class.ilCalendarWeekGUI.php.
Referenced by show().
ilCalendarWeekGUI::executeCommand | ( | ) |
Execute command.
public
Definition at line 63 of file class.ilCalendarWeekGUI.php.
References $_GET, $_SESSION, $DIC, $ilCtrl, $time, $tpl, ilCalendarAppointmentPresentationGUI\_getInstance(), ilCalendarViewGUI\getCurrentApp(), and IL_CAL_DATE.
|
protected |
ilCalendarEntry | $a_event |
Definition at line 679 of file class.ilCalendarWeekGUI.php.
References $time, ilCalendarEntry\getEnd(), ilCalendarEntry\getStart(), IL_CAL_FKT_DATE, ilCalendarSettings\TIME_FORMAT_12, ilCalendarSettings\TIME_FORMAT_24, and user().
Referenced by showAppointment().
|
protected |
Definition at line 461 of file class.ilCalendarWeekGUI.php.
Referenced by show().
|
protected |
calculate overlapping hours
protected
Definition at line 323 of file class.ilCalendarWeekGUI.php.
References $DIC, $end, $i, $ilUser, $raster, $start, IL_CAL_FKT_GETDATE, ilCalendarSettings\TIME_FORMAT_12, and ilCalendarSettings\TIME_FORMAT_24.
Referenced by show().
|
protected |
Set values for: user_id, disable_empty, no_add.
Definition at line 508 of file class.ilCalendarWeekGUI.php.
Referenced by show().
ilCalendarWeekGUI::show | ( | ) |
fill data section
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.
|
protected |
show appointment
protected
array | appointment |
Definition at line 250 of file class.ilCalendarWeekGUI.php.
References $ilUser, $style, $time, $title, $user, ilCalendarUtil\calculateFontColor(), ilCalendarViewGUI\getAppointmentShyButton(), getAppointmentTimeString(), and ilCalendarViewGUI\getContentByPlugins().
Referenced by addTimedEvents().
|
protected |
show fullday appointment
protected
array | appointment |
Definition at line 196 of file class.ilCalendarWeekGUI.php.
References $title, ilCalendarUtil\calculateFontColor(), ilCalendarViewGUI\getAppointmentShyButton(), ilCalendarViewGUI\getContentByPlugins(), and ilUtil\getImagePath().
Referenced by addFullDayEvents().
|
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.