| Moodle APIs 4.3
    Moodle 4.3.6 (Build: 20240812) | 
| Topics | |
| calendar | |
| external | |
| test | |
| Namespaces | |
| namespace | calendartype_test_example | 
|  | |
| namespace | core_calendar | 
| Action factory. | |
| namespace | core_calendar\external | 
|  | |
| namespace | core_calendar\external\export | 
| This is the external method for exporting a calendar token. | |
| namespace | core_calendar\local | 
| Contains class containing the internal calendar API. | |
| namespace | core_calendar\local\event | 
| Core container for calendar events. | |
| namespace | core_calendar\local\event\data_access | 
| Event vault class. | |
| namespace | core_calendar\local\event\entities | 
| Calendar action event class. | |
| namespace | core_calendar\local\event\exceptions | 
| Invalid callback exception. | |
| namespace | core_calendar\local\event\factories | 
| Action factory interface. | |
| namespace | core_calendar\local\event\forms | 
| The mform for creating a calendar event. | |
| namespace | core_calendar\local\event\mappers | 
| Event create form and update form mapper. | |
| namespace | core_calendar\local\event\proxies | 
| Course module cm_info proxy. | |
| namespace | core_calendar\local\event\strategies | 
| Raw event retrieval strategy. | |
| namespace | core_calendar\local\event\value_objects | 
| Class representing an action a user should take. | |
| namespace | core_calendar\output | 
| Class to display collection select for the refresh interval. | |
| namespace | core_calendar\privacy | 
| Privacy class for requesting user data. | |
| Functions | |
| create_action_event (array $data) | |
| Helper function to create an action event. | |
| create_event ($properties) | |
| Create a calendar event with the given properties. | |
| create_group_override_event (string $modulename, int $instanceid, int $courseid, int $groupid) | |
| Helper function to create an group override calendar event. | |
| create_standard_events (int $quantity) | |
| Helper function to create a x number of events for each event type. | |
| create_user_override_event (string $modulename, int $instanceid, int $userid) | |
| Helper function to create an user override calendar event. | |
| Variables | |
| global | $CFG | 
| global | core_calendar\external\export::$CFG | 
| if (!defined( 'MOODLE_INTERNAL')) | |
| The mform for exporting calendar events. | |
| create_action_event | ( | array | $data | ) | 
Helper function to create an action event.
| array | $data | The event data. | 
| bool|calendar_event | 
| create_event | ( | $properties | ) | 
Create a calendar event with the given properties.
| array | $properties | The properties to set on the event | 
| calendar_event | 
| create_group_override_event | ( | string | $modulename, | 
| int | $instanceid, | ||
| int | $courseid, | ||
| int | $groupid ) | 
Helper function to create an group override calendar event.
| string | $modulename | The modulename. | 
| int | $instanceid | The instance id. | 
| int | $courseid | The course id. | 
| int | $groupid | The group id. | 
| calendar_event|false | 
| create_standard_events | ( | int | $quantity | ) | 
Helper function to create a x number of events for each event type.
| int | $quantity | The quantity of events to be created. | 
| array | List of created events. | 
| create_user_override_event | ( | string | $modulename, | 
| int | $instanceid, | ||
| int | $userid ) | 
Helper function to create an user override calendar event.
| string | $modulename | The modulename. | 
| int | $instanceid | The instance id. | 
| int | $userid | The user id. | 
| calendar_event|false | 
| if(!defined('MOODLE_INTERNAL')) | ( | ! | defined 'MOODLE_INTERNAL' | ) | 
The mform for exporting calendar events.