Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
core_calendar\local\event\mappers\create_update_form_mapper_interface Interface Reference

Interface for a create_update_form_mapper class. More...

Inheritance diagram for core_calendar\local\event\mappers\create_update_form_mapper_interface:
core_calendar\local\event\mappers\create_update_form_mapper

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.
 

Detailed Description

Interface for a create_update_form_mapper class.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ from_data_to_event_properties()

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.

Parameters
stdClass$data
Return values
stdClass

Implemented in core_calendar\local\event\mappers\create_update_form_mapper.

◆ from_legacy_event_to_data()

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.

Parameters
calendar_event$legacyevent
Return values
stdClass

Implemented in core_calendar\local\event\mappers\create_update_form_mapper.


The documentation for this interface was generated from the following file: