ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Presentation day view. More...
Public Member Functions | |
__construct (ilDate $seed_date) | |
Constructor. More... | |
executeCommand () | |
Execute command. 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... | |
parseInfoIntoRaster ($daily_apps, $morning_aggr, $evening_aggr, $raster) | |
calculate overlapping hours More... | |
calculateColspan ($hours) | |
calculate colspan More... | |
Protected Attributes | |
$seed_info = array() | |
$user_settings = null | |
$lng | |
$ctrl | |
$tabs_gui | |
$tpl | |
$num_appointments = 1 | |
$timezone = 'UTC' | |
$user | |
$ui | |
$toolbar | |
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 |
Presentation day view.
ilCalendarDayGUI: ilCalendarAppointmentGUI ilCalendarDayGUI: ilCalendarAppointmentPresentationGUI
Definition at line 22 of file class.ilCalendarDayGUI.php.
ilCalendarDayGUI::__construct | ( | ilDate | $seed_date | ) |
Constructor.
public
Definition at line 74 of file class.ilCalendarDayGUI.php.
References ilCalendarUserSettings\_getInstanceByUserId(), ilCalendarViewGUI\CAL_PRESENTATION_DAY, IL_CAL_FKT_GETDATE, timezone, and user().
|
protected |
calculate colspan
protected
Definition at line 561 of file class.ilCalendarDayGUI.php.
References $ilUser, and $user.
Referenced by executeCommand().
ilCalendarDayGUI::executeCommand | ( | ) |
Execute command.
public
Definition at line 92 of file class.ilCalendarDayGUI.php.
References $_GET, $_SESSION, $ctrl, $DIC, $i, $ilCtrl, $ilUser, $lng, $tpl, ilCalendarViewGUI\$ui_factory, $user, ilCalendarAppointmentPresentationGUI\_getInstance(), ilCalendarSettings\_getInstance(), ilCalendarUtil\_numericDayToString(), ilCalendarUtil\_numericMonthToString(), calculateColspan(), ilDateTime\DAY, ilCalendarViewGUI\getCurrentApp(), IL_CAL_DATE, IL_CAL_UNIX, ilYuiUtil\initDragDrop(), parseInfoIntoRaster(), showAppointment(), showFulldayAppointment(), timezone, and ilCalendarSchedule\TYPE_DAY.
|
protected |
calculate overlapping hours
protected
Definition at line 450 of file class.ilCalendarDayGUI.php.
References $end, $i, $ilUser, $user, array, date, ilCalendarSettings\TIME_FORMAT_12, and ilCalendarSettings\TIME_FORMAT_24.
Referenced by executeCommand().
|
protected |
show appointment
protected
array | appointment |
Definition at line 372 of file class.ilCalendarDayGUI.php.
References $ilUser, $time, $title, $user, ilCalendarUtil\calculateFontColor(), ilCalendarViewGUI\getAppointmentShyButton(), ilCalendarViewGUI\getContentByPlugins(), IL_CAL_DATE, IL_CAL_FKT_DATE, ilCalendarSettings\TIME_FORMAT_12, ilCalendarSettings\TIME_FORMAT_24, and timezone.
Referenced by executeCommand().
|
protected |
show fullday appointment
protected
array | appointment |
Definition at line 314 of file class.ilCalendarDayGUI.php.
References $r, ilCalendarViewGUI\$ui_factory, ilCalendarViewGUI\$ui_renderer, ilCalendarUtil\calculateFontColor(), ilCalendarViewGUI\getAppointmentShyButton(), ilCalendarViewGUI\getContentByPlugins(), ilUtil\getImagePath(), and IL_CAL_DATE.
Referenced by executeCommand().
|
protected |
Definition at line 35 of file class.ilCalendarDayGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 30 of file class.ilCalendarDayGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 47 of file class.ilCalendarDayGUI.php.
|
protected |
Definition at line 24 of file class.ilCalendarDayGUI.php.
|
protected |
Definition at line 40 of file class.ilCalendarDayGUI.php.
|
protected |
Definition at line 49 of file class.ilCalendarDayGUI.php.
|
protected |
Definition at line 64 of file class.ilCalendarDayGUI.php.
|
protected |
Definition at line 45 of file class.ilCalendarDayGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 59 of file class.ilCalendarDayGUI.php.
|
protected |
Definition at line 54 of file class.ilCalendarDayGUI.php.
Referenced by calculateColspan(), executeCommand(), parseInfoIntoRaster(), and showAppointment().
|
protected |
Definition at line 25 of file class.ilCalendarDayGUI.php.