Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Action factory class. More...
Public Member Functions | |
create_instance ($name, moodle_url $url, $itemcount, $actionable) | |
Creates an instance of an action. More... | |
Action factory class.
core_calendar\action_factory::create_instance | ( | $name, | |
moodle_url | $url, | ||
$itemcount, | |||
$actionable | |||
) |
Creates an instance of an action.
string | $name | The action's name. |
moodle_url | $url | The action's URL. |
int | $itemcount | The number of items needing action. |
bool | $actionable | The action's actionability. |
core_calendar |
Implements core_calendar\local\event\factories\action_factory_interface.