Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Interface for a create_update_form_mapper class. More...
Public Member Functions | |
from_data_to_event_properties (\stdClass $data) | |
Generate the appropriate calendar_event properties from the form data. More... | |
from_legacy_event_to_data (\calendar_event $legacyevent) | |
Generate the appropriate data for the form from a legacy event. More... | |
Interface for a create_update_form_mapper class.
core_calendar\local\event\mappers\create_update_form_mapper_interface::from_data_to_event_properties | ( | \stdClass | $data | ) |
Generate the appropriate calendar_event properties from the form data.
stdClass | $data |
stdClass |
Implemented in core_calendar\local\event\mappers\create_update_form_mapper.
core_calendar\local\event\mappers\create_update_form_mapper_interface::from_legacy_event_to_data | ( | \calendar_event | $legacyevent | ) |
Generate the appropriate data for the form from a legacy event.
calendar_event | $legacyevent |
stdClass |
Implemented in core_calendar\local\event\mappers\create_update_form_mapper.