Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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: