Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | List of all members
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. More...
 

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: