Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
core_ai\external\set_action Class Reference
Inheritance diagram for core_ai\external\set_action:

Static Public Member Functions

static execute (string $plugin, int $state, int $providerid=0)
 Set the providers action state.
 
static execute_parameters ()
 Returns description of method parameters.
 
static execute_returns ()
 Describe the return structure of the external service.
 

Member Function Documentation

◆ execute()

static core_ai\external\set_action::execute ( string $plugin,
int $state,
int $providerid = 0 )
static

Set the providers action state.

Parameters
string$pluginThe name of the plugin and the action to change state for.
int$stateThe target state.
int$provideridThe provider id.
Return values
array

◆ execute_parameters()

static core_ai\external\set_action::execute_parameters ( )
static

Returns description of method parameters.

Return values
external_function_parameters

◆ execute_returns()

static core_ai\external\set_action::execute_returns ( )
static

Describe the return structure of the external service.

Return values
external_function_parameters

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