Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
core_badges\external\enable_badges Class Reference
Inheritance diagram for core_badges\external\enable_badges:

Static Public Member Functions

static execute (array $badgeids)
 Enable the given badges.
 
static execute_parameters ()
 Describes the parameters.
 
static execute_returns ()
 Describe the return structure of the external service.
 

Detailed Description

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

Member Function Documentation

◆ execute()

static core_badges\external\enable_badges::execute ( array $badgeids)
static

Enable the given badges.

Parameters
array$badgeidsList of badge identifiers to enable.
Return values
arrayThe number of awarded users for each badge or 'cron' when there are more than 1000 users.

◆ execute_parameters()

static core_badges\external\enable_badges::execute_parameters ( )
static

Describes the parameters.

Return values
external_function_parameters

◆ execute_returns()

static core_badges\external\enable_badges::execute_returns ( )
static

Describe the return structure of the external service.

Return values
external_single_structure

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