|
ILIAS
release_8 Revision v8.24
|
Calendar agenda list. More...
Inheritance diagram for ilCalendarAgendaListGUI:
Collaboration diagram for ilCalendarAgendaListGUI:Public Member Functions | |
| __construct (ilDate $seed) | |
| executeCommand () | |
| getHTML () | |
| getPluginAgendaItem (Item $a_item, ilCalendarEntry $appointment) | |
Public Member Functions inherited from ilCalendarViewGUI | |
| __construct (ilDate $seed, int $presentation_type) | |
| setConsulationHoursUserId (int $a_user_id) | |
| getConsultationHoursUserId () | |
| initialize (int $a_calendar_presentation_type) | |
| getCurrentApp () | |
| getEvents () | |
| getDatesForItem ($item) | |
| getModalForApp () | |
| Get modal for appointment (see similar code in ilCalendarBlockGUI) More... | |
| getAppointmentShyButton (ilCalendarEntry $a_calendar_entry, string $a_dstart, string $a_title_forced="") | |
| getActivePlugins (string $a_slot_id) | |
| getModalTitleByPlugins (string $a_current_title) | |
| getContentByPlugins (ilCalendarEntry $a_cal_entry, int $a_start_date, string $a_content, ilTemplate $a_tpl) | |
| addToolbarFileDownload () | |
| 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_UNDEFINED = 0 |
| const | CAL_PRESENTATION_DAY = 1 |
| const | CAL_PRESENTATION_WEEK = 2 |
| const | CAL_PRESENTATION_MONTH = 3 |
| const | CAL_PRESENTATION_AGENDA_LIST = 9 |
Protected Member Functions | |
| initCalendarPeriodFromRequest () | |
| initPeriod () | |
| initEndPeriod () | |
| Initialises end date for calendar list view. More... | |
Protected Member Functions inherited from ilCalendarViewGUI | |
| initAppointmentIdFromQuery () | |
| initInitialDateFromQuery () | |
| initInitialDateTimeFromQuery () | |
| initBookingUserFromQuery () | |
Protected Attributes | |
| int | $period = self::PERIOD_WEEK |
Protected Attributes inherited from ilCalendarViewGUI | |
| int | $presentation_type = self::CAL_PRESENTATION_UNDEFINED |
| bool | $view_with_appointments = false |
| ilDate | $seed |
| int | $ch_user_id = 0 |
| string | $period_end_day = null |
| Factory | $ui_factory |
| Renderer | $ui_renderer |
| ilCtrlInterface | $ctrl |
| ilToolbarGUI | $toolbar |
| ilLogger | $logger |
| ILIAS DI UIServices | $ui |
| ilLanguage | $lng |
| ilObjUser | $user |
| ilTemplate | $tpl |
| ilGlobalTemplateInterface | $main_tpl |
| ilComponentFactory | $component_factory |
| ilTabsGUI | $tabs_gui |
| RefineryFactory | $refinery |
| HttpServices | $http |
Calendar agenda list.
@ilCtrl_Calls ilCalendarAgendaListGUI: ilCalendarAppointmentPresentationGUI
Definition at line 29 of file class.ilCalendarAgendaListGUI.php.
| ilCalendarAgendaListGUI::__construct | ( | ilDate | $seed | ) |
Definition at line 38 of file class.ilCalendarAgendaListGUI.php.
References ilCalendarViewGUI\$seed, ILIAS\GlobalScreen\Provider\__construct(), ilCalendarViewGUI\CAL_PRESENTATION_AGENDA_LIST, ILIAS\Repository\ctrl(), IL_CAL_DATE, initEndPeriod(), and initPeriod().
Here is the call graph for this function:| ilCalendarAgendaListGUI::executeCommand | ( | ) |
Definition at line 101 of file class.ilCalendarAgendaListGUI.php.
References ilCalendarAppointmentPresentationGUI\_getInstance(), ILIAS\Repository\ctrl(), and IL_CAL_DATE.
Here is the call graph for this function:| ilCalendarAgendaListGUI::getHTML | ( | ) |
Definition at line 128 of file class.ilCalendarAgendaListGUI.php.
References Vendor\Package\$e, $GLOBALS, $period, $url, ilDateTime\_after(), ilDateTime\_before(), ilDateTime\_equals(), ilCalendarCategories\_getInstance(), ilCalendarAppointmentPresentationGUI\_getInstance(), ilCalendarCategoryAssignments\_lookupCategory(), ILIAS\Repository\ctrl(), ilDateTime\DAY, ilDatePresentation\formatDate(), ilDatePresentation\formatPeriod(), ilCalendarViewGUI\getEvents(), getPluginAgendaItem(), ilUtil\getSystemMessageHTML(), ILIAS\FileDelivery\http(), IL_CAL_DATE, IL_CAL_DAY, IL_CAL_UNIX, ilCalendarViewGUI\initAppointmentIdFromQuery(), initCalendarPeriodFromRequest(), ilCalendarViewGUI\initInitialDateTimeFromQuery(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilArrayUtil\sortArray(), and ILIAS\Repository\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 350 of file class.ilCalendarAgendaListGUI.php.
References $DIC, $period, ILIAS\LTI\ToolProvider\$settings, ilCalendarViewGUI\$user, ilCalendarSettings\_getInstance(), ilObjUser\getPref(), and ILIAS\Repository\int().
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 | ( | Item | $a_item, |
| ilCalendarEntry | $appointment | ||
| ) |
Definition at line 334 of file class.ilCalendarAgendaListGUI.php.
References XapiProxy\$plugin, ilCalendarViewGUI\getActivePlugins(), and ilCalendarEntry\getStart().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 47 of file class.ilCalendarAgendaListGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by getHTML(), and initPeriod().
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 78 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 |
Definition at line 58 of file class.ilCalendarAgendaListGUI.php.
References $DIC, ilCalendarSettings\_getInstance(), initCalendarPeriodFromRequest(), and ILIAS\Repository\user().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 36 of file class.ilCalendarAgendaListGUI.php.
Referenced by getHTML(), and getPeriod().
| const ilCalendarAgendaListGUI::PERIOD_DAY = 1 |
Definition at line 31 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 34 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 33 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 32 of file class.ilCalendarAgendaListGUI.php.
Referenced by ilCalendarViewGUI\countEventsInView(), ilCalendarViewGUI\getBucketTitle(), ilCalendarViewGUI\getEvents(), ilUserStartingPointGUI\getRoleStartingPointForm(), initEndPeriod(), and ilObjCalendarSettingsGUI\initFormSettings().