Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
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. | |
from_legacy_event_to_data (\calendar_event $legacyevent) | |
Generate the appropriate data for the form from a legacy event. | |
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.