Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_xapi\external\get_states Class Reference
Inheritance diagram for core_xapi\external\get_states:

Static Public Member Functions

static execute (string $component, string $activityiri, string $agent, ?string $registration=null, ?string $since=null)
 Process a get states request.
 
static execute_parameters ()
 Parameters for execute.
 
static execute_returns ()
 Return for execute.
 

Member Function Documentation

◆ execute()

static core_xapi\external\get_states::execute ( string $component,
string $activityiri,
string $agent,
?string $registration = null,
?string $since = null )
static

Process a get states request.

Parameters
string$componentThe component name in frankenstyle.
string$activityiriThe activity IRI.
string$agentThe agent JSON.
string | null$registrationThe xAPI registration UUID.
string | null$sinceA ISO 8601 timestamps or a numeric timestamp.
Return values
arraythe list of the stored state ids

◆ execute_parameters()

static core_xapi\external\get_states::execute_parameters ( )
static

Parameters for execute.

Return values
external_function_parameters

◆ execute_returns()

static core_xapi\external\get_states::execute_returns ( )
static

Return for execute.

Return values
external_multiple_structure

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