Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_calendar\local\event\factories\action_factory_interface Interface Reference
Inheritance diagram for core_calendar\local\event\factories\action_factory_interface:
core_calendar\action_factory

Public Member Functions

 create_instance ($name, moodle_url $url, $itemcount, $actionable)
 Creates an instance of an action.
 

Member Function Documentation

◆ create_instance()

core_calendar\local\event\factories\action_factory_interface::create_instance ( $name,
moodle_url $url,
$itemcount,
$actionable )

Creates an instance of an action.

Parameters
string$nameThe action's name.
moodle_url$urlThe action's URL.
int$itemcountThe number of items needing action.
bool$actionableThe action's actionability.
Return values
core_calendar\local\event\entities\action_interfaceThe action.

Implemented in core_calendar\action_factory.


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