Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Event factory class. More...
Public Member Functions | |
create_instance (\stdClass $dbrow) | |
Creates an instance of an event. More... | |
Protected Member Functions | |
apply_component_action (event_interface $event) | |
Applies component actions to the event. More... | |
expose_event (event_interface $event) | |
Exposes the event (or not). More... | |
Protected Attributes | |
callable | $actioncallbackapplier |
$actioncallbackapplier Function to apply component action callbacks. | |
callable | $bailoutcheck |
Bail out check for create_instance. | |
array | $coursecachereference |
Course cache for use with get_course_cached. | |
array | $modulecachereference |
Module cache reference for use with get_module_cached. | |
callable | $visibilitycallbackapplier |
$visibilitycallbackapplier Function to apply component visibility callbacks. | |
Event factory class.
|
protected |
Applies component actions to the event.
event_interface | $event | The event to be updated. |
event_interface | The potentially modified event. |
Reimplemented from core_calendar\local\event\factories\event_abstract_factory.
|
inherited |
Creates an instance of an event.
stdClass | $dbrow | The event row from the database. |
core_calendar |
Implements core_calendar\local\event\factories\event_factory_interface.
|
protected |
Exposes the event (or not).
event_interface | $event | The event to potentially expose. |
event_interface|null | The exposed event or null. |
Reimplemented from core_calendar\local\event\factories\event_abstract_factory.