Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | List of all members
core_calendar\local\event\entities\action_interface Interface Reference

Interface for a action class. More...

Inheritance diagram for core_calendar\local\event\entities\action_interface:
core_calendar\local\event\value_objects\action

Public Member Functions

 get_item_count ()
 Get the number of items that need actioning. More...
 
 get_name ()
 Get the name of the action. More...
 
 get_url ()
 Get the URL of the action. More...
 
 is_actionable ()
 Get the actions actionability. More...
 

Detailed Description

Interface for a action class.

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

Member Function Documentation

◆ get_item_count()

core_calendar\local\event\entities\action_interface::get_item_count ( )

Get the number of items that need actioning.

Return values
int

Implemented in core_calendar\local\event\value_objects\action.

◆ get_name()

core_calendar\local\event\entities\action_interface::get_name ( )

Get the name of the action.

Return values
string

Implemented in core_calendar\local\event\value_objects\action.

◆ get_url()

core_calendar\local\event\entities\action_interface::get_url ( )

Get the URL of the action.

Return values
moodle_url

Implemented in core_calendar\local\event\value_objects\action.

◆ is_actionable()

core_calendar\local\event\entities\action_interface::is_actionable ( )

Get the actions actionability.

Return values
bool

Implemented in core_calendar\local\event\value_objects\action.


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