|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Calendar agenda list. More...
Inheritance diagram for ilCalendarAgendaListGUI:
Collaboration diagram for ilCalendarAgendaListGUI: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 Member Functions | |
| initPeriod () | |
| Initialises time Period for calendar list view. More... | |
| initEndPeriod () | |
| Initialises end date for calendar list view. More... | |
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.
@ilCtrl_Calls 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 ilCalendarViewGUI\$seed, ILIAS\GlobalScreen\Provider\__construct(), ilCalendarViewGUI\CAL_PRESENTATION_AGENDA_LIST, IL_CAL_DATE, initEndPeriod(), and initPeriod().
Here is the call graph for this function:| ilCalendarAgendaListGUI::executeCommand | ( | ) |
Execute command.
Definition at line 116 of file class.ilCalendarAgendaListGUI.php.
References ilCalendarAppointmentPresentationGUI\_getInstance(), and IL_CAL_DATE.
Here is the call graph for this function:| ilCalendarAgendaListGUI::getHTML | ( | ) |
Get output.
return
Definition at line 143 of file class.ilCalendarAgendaListGUI.php.
References $_GET, Vendor\Package\$e, $GLOBALS, $period, $url, ilDateTime\_after(), ilDateTime\_before(), ilDateTime\_equals(), ilCalendarCategories\_getInstance(), ilCalendarAppointmentPresentationGUI\_getInstance(), ilCalendarCategoryAssignments\_lookupCategory(), ilDateTime\DAY, ilDatePresentation\formatDate(), ilDatePresentation\formatPeriod(), ilCalendarViewGUI\getEvents(), getPluginAgendaItem(), ilUtil\getSystemMessageHTML(), IL_CAL_DATE, IL_CAL_DAY, IL_CAL_UNIX, ilUtil\sortArray(), and user().
Here is the call graph for this function:
|
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 339 of file class.ilCalendarAgendaListGUI.php.
References $DIC, $ilUser, $period, and ilCalendarSettings\_getInstance().
Referenced by ilCalendarViewGUI\countEventsInView(), and ilCalendarViewGUI\getEvents().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarAgendaListGUI::getPluginAgendaItem | ( | $a_item, | |
| $appointment | |||
| ) |
| $a_item | ILIAS\UI\Component\Item\Item |
| $appointment |
Definition at line 324 of file class.ilCalendarAgendaListGUI.php.
References XapiProxy\$plugin, and ilCalendarViewGUI\getActivePlugins().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Initialises end date for calendar list view.
Definition at line 89 of file class.ilCalendarAgendaListGUI.php.
References ilCalendarViewGUI\$seed, IL_CAL_DATE, IL_CAL_DAY, IL_CAL_MONTH, IL_CAL_WEEK, PERIOD_DAY, PERIOD_HALF_YEAR, PERIOD_MONTH, and PERIOD_WEEK.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Initialises time Period for calendar list view.
Definition at line 68 of file class.ilCalendarAgendaListGUI.php.
References $DIC, ilCalendarSettings\_getInstance(), and user().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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 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(), ilCalendarViewGUI\getEvents(), ilUserStartingPointGUI\getRoleStartingPointForm(), initEndPeriod(), and ilObjCalendarSettingsGUI\initFormSettings().
| const ilCalendarAgendaListGUI::PERIOD_HALF_YEAR = 4 |
Definition at line 17 of file class.ilCalendarAgendaListGUI.php.
Referenced by ilCalendarViewGUI\countEventsInView(), ilCalendarViewGUI\getBucketTitle(), ilCalendarViewGUI\getEvents(), ilUserStartingPointGUI\getRoleStartingPointForm(), initEndPeriod(), and ilObjCalendarSettingsGUI\initFormSettings().
| const ilCalendarAgendaListGUI::PERIOD_MONTH = 3 |
Definition at line 16 of file class.ilCalendarAgendaListGUI.php.
Referenced by ilCalendarViewGUI\countEventsInView(), ilCalendarViewGUI\getBucketTitle(), ilCalendarViewGUI\getEvents(), ilUserStartingPointGUI\getRoleStartingPointForm(), initEndPeriod(), and ilObjCalendarSettingsGUI\initFormSettings().
| const ilCalendarAgendaListGUI::PERIOD_WEEK = 2 |
Definition at line 15 of file class.ilCalendarAgendaListGUI.php.
Referenced by ilCalendarViewGUI\countEventsInView(), ilCalendarViewGUI\getBucketTitle(), ilCalendarViewGUI\getEvents(), ilUserStartingPointGUI\getRoleStartingPointForm(), initEndPeriod(), and ilObjCalendarSettingsGUI\initFormSettings().