ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Calendar agenda list. More...
Public Member Functions | |
__construct (ilDate $seed) | |
Constructor. More... | |
executeCommand () | |
Execute command. More... | |
getHTML () | |
Get output. More... | |
getPluginAgendaItem ($a_item, $appointment) | |
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... | |
Static Public Member Functions | |
static | getPeriod () |
needed in CalendarInboxGUI to get events using a proper period. More... | |
Data Fields | |
const | PERIOD_DAY = 1 |
const | PERIOD_WEEK = 2 |
const | PERIOD_MONTH = 3 |
const | PERIOD_HALF_YEAR = 4 |
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 |
Protected Attributes | |
$ctrl | |
$user | |
$lng | |
$period = self::PERIOD_WEEK | |
$period_end_day = null | |
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 | |
Calendar agenda list.
ilCalendarAgendaListGUI: ilCalendarAppointmentPresentationGUI
Definition at line 12 of file class.ilCalendarAgendaListGUI.php.
ilCalendarAgendaListGUI::__construct | ( | ilDate | $seed | ) |
Constructor.
ilDate | $seed |
Definition at line 52 of file class.ilCalendarAgendaListGUI.php.
References $_GET, $period, ilCalendarViewGUI\$seed, ilCalendarViewGUI\CAL_PRESENTATION_AGENDA_LIST, ilSession\get(), IL_CAL_DATE, IL_CAL_DAY, IL_CAL_MONTH, and IL_CAL_WEEK.
ilCalendarAgendaListGUI::executeCommand | ( | ) |
Execute command.
Definition at line 93 of file class.ilCalendarAgendaListGUI.php.
References ilCalendarAppointmentPresentationGUI\_getInstance(), array, ilCalendarViewGUI\getCurrentApp(), and IL_CAL_DATE.
ilCalendarAgendaListGUI::getHTML | ( | ) |
Get output.
Definition at line 120 of file class.ilCalendarAgendaListGUI.php.
References $_GET, $end, $GLOBALS, $html, $list, $period, $tpl, $url, ilDateTime\_after(), ilDateTime\_before(), ilDateTime\_equals(), ilCalendarAppointmentPresentationGUI\_getInstance(), ilCalendarCategories\_getInstance(), ilCalendarCategoryAssignments\_lookupCategory(), array, ilDateTime\DAY, ilDatePresentation\formatDate(), ilDatePresentation\formatPeriod(), ilCalendarViewGUI\getEvents(), getPluginAgendaItem(), IL_CAL_DATE, IL_CAL_DAY, IL_CAL_UNIX, ilUtil\sortArray(), and user().
|
static |
needed in CalendarInboxGUI to get events using a proper period.
todo define default period only once (self::PERIOD_WEEK, protected $period = self::PERIOD_WEEK)
Definition at line 317 of file class.ilCalendarAgendaListGUI.php.
References $_GET, $period, and ilSession\get().
Referenced by ilCalendarViewGUI\countEventsInView(), and ilCalendarViewGUI\getEvents().
ilCalendarAgendaListGUI::getPluginAgendaItem | ( | $a_item, | |
$appointment | |||
) |
$a_item | ILIAS |
$appointment |
Definition at line 302 of file class.ilCalendarAgendaListGUI.php.
References ilCalendarViewGUI\getActivePlugins().
Referenced by getHTML().
|
protected |
Definition at line 22 of file class.ilCalendarAgendaListGUI.php.
|
protected |
Definition at line 32 of file class.ilCalendarAgendaListGUI.php.
|
protected |
Definition at line 37 of file class.ilCalendarAgendaListGUI.php.
Referenced by __construct(), getHTML(), and getPeriod().
|
protected |
Definition at line 42 of file class.ilCalendarAgendaListGUI.php.
|
protected |
Definition at line 27 of file class.ilCalendarAgendaListGUI.php.
const ilCalendarAgendaListGUI::PERIOD_DAY = 1 |
Definition at line 14 of file class.ilCalendarAgendaListGUI.php.
Referenced by ilCalendarViewGUI\countEventsInView(), ilCalendarViewGUI\getBucketTitle(), and ilCalendarViewGUI\getEvents().
const ilCalendarAgendaListGUI::PERIOD_HALF_YEAR = 4 |
Definition at line 17 of file class.ilCalendarAgendaListGUI.php.
Referenced by ilCalendarViewGUI\countEventsInView(), ilCalendarViewGUI\getBucketTitle(), and ilCalendarViewGUI\getEvents().
const ilCalendarAgendaListGUI::PERIOD_MONTH = 3 |
Definition at line 16 of file class.ilCalendarAgendaListGUI.php.
Referenced by ilCalendarViewGUI\countEventsInView(), ilCalendarViewGUI\getBucketTitle(), and ilCalendarViewGUI\getEvents().
const ilCalendarAgendaListGUI::PERIOD_WEEK = 2 |
Definition at line 15 of file class.ilCalendarAgendaListGUI.php.
Referenced by ilCalendarViewGUI\countEventsInView(), ilCalendarViewGUI\getBucketTitle(), and ilCalendarViewGUI\getEvents().