Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_calendar\action_factory Class Reference

Action factory class. More...

Inheritance diagram for core_calendar\action_factory:
core_calendar\local\event\factories\action_factory_interface

Public Member Functions

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

Detailed Description

Action factory class.

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

Member Function Documentation

◆ create_instance()

core_calendar\action_factory::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.

Implements core_calendar\local\event\factories\action_factory_interface.


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