Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_calendar\local\event\factories\event_factory_interface Interface Reference

Interface for an event factory class. More...

Inheritance diagram for core_calendar\local\event\factories\event_factory_interface:
action_event_test_factory core_calendar\local\event\factories\event_abstract_factory core_calendar\local\event\factories\event_factory

Public Member Functions

 create_instance (\stdClass $dbrow)
 Creates an instance of an event.
 

Detailed Description

Interface for an event factory class.

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

Member Function Documentation

◆ create_instance()

core_calendar\local\event\factories\event_factory_interface::create_instance ( \stdClass $dbrow)

Creates an instance of an event.

Parameters
stdClass$dbrowThe event row from the database.
Return values
core_calendar\local\event\entities\event_interface

Implemented in action_event_test_factory, and core_calendar\local\event\factories\event_abstract_factory.


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