Class for displaying a list of calendar events.
More...
|
array | $events |
| $events An array of event_interface objects.
|
|
Class for displaying a list of calendar events.
This class uses the events relateds cache in order to get the related data for exporting an event without having to naively hit the database for each event.
- Copyright
- 2017 Ryan Wyllie ryan@.nosp@m.mood.nosp@m.le.co.nosp@m.m
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
core_calendar\external\events_exporter::__construct |
( |
array | $events, |
|
|
| $related = [] ) |
Constructor.
- Parameters
-
array | $events | An array of event_interface objects |
array | $related | An array of related objects |
◆ define_other_properties()
static core_calendar\external\events_exporter::define_other_properties |
( |
| ) |
|
|
staticprotected |
◆ define_related()
static core_calendar\external\events_exporter::define_related |
( |
| ) |
|
|
staticprotected |
Returns a list of objects that are related.
- Return values
-
◆ get_other_values()
core_calendar\external\events_exporter::get_other_values |
( |
renderer_base | $output | ) |
|
|
protected |
The documentation for this class was generated from the following file:
- calendar/classes/external/events_exporter.php