Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Interface for an event class. More...
Public Member Functions | |
get_category () | |
Get the category object associated with the event. | |
get_component () | |
Resolved event component (frankenstyle name of activity module or the component) | |
get_course () | |
Get the course object associated with the event. | |
get_course_module () | |
Get the course module object that created the event. | |
get_description () | |
Get the event's description. | |
get_group () | |
Get the group object associated with the event. | |
get_id () | |
Get the event's ID. | |
get_location () | |
Get the event's location. | |
get_name () | |
Get the event's name. | |
get_repeats () | |
Get repeats of this event or null if the event has no repeats. | |
get_subscription () | |
Get the event's subscription. | |
get_times () | |
Get the times associated with the event. | |
get_type () | |
Get the event's type. | |
get_user () | |
Get the user object associated with the event. | |
is_visible () | |
Get the event's visibility. | |
Interface for an event class.
core_calendar\local\event\entities\event_interface::get_category | ( | ) |
Get the category object associated with the event.
proxy_interface |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.
core_calendar\local\event\entities\event_interface::get_component | ( | ) |
Resolved event component (frankenstyle name of activity module or the component)
string|null |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.
core_calendar\local\event\entities\event_interface::get_course | ( | ) |
Get the course object associated with the event.
proxy_interface |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.
core_calendar\local\event\entities\event_interface::get_course_module | ( | ) |
Get the course module object that created the event.
proxy_interface |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.
core_calendar\local\event\entities\event_interface::get_description | ( | ) |
Get the event's description.
description_interface |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.
core_calendar\local\event\entities\event_interface::get_group | ( | ) |
Get the group object associated with the event.
proxy_interface |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.
core_calendar\local\event\entities\event_interface::get_id | ( | ) |
Get the event's ID.
integer |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.
core_calendar\local\event\entities\event_interface::get_location | ( | ) |
Get the event's location.
location_interface |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.
core_calendar\local\event\entities\event_interface::get_name | ( | ) |
Get the event's name.
string |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.
core_calendar\local\event\entities\event_interface::get_repeats | ( | ) |
Get repeats of this event or null if the event has no repeats.
event_collection_interface|null |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.
core_calendar\local\event\entities\event_interface::get_subscription | ( | ) |
Get the event's subscription.
proxy_interface |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.
core_calendar\local\event\entities\event_interface::get_times | ( | ) |
Get the times associated with the event.
times_interface |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.
core_calendar\local\event\entities\event_interface::get_type | ( | ) |
Get the event's type.
string |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.
core_calendar\local\event\entities\event_interface::get_user | ( | ) |
Get the user object associated with the event.
proxy_interface |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.
core_calendar\local\event\entities\event_interface::is_visible | ( | ) |
Get the event's visibility.
bool | true if the event is visible, false otherwise |
Implemented in core_calendar\local\event\entities\action_event, and core_calendar\local\event\entities\event.