This is the external API for generic xAPI state deletion.  
 More...
|  | 
| static | execute (string $component, string $activityiri, string $agent, string $stateid, ?string $registration=null) | 
|  | Process a state delete request. 
 | 
|  | 
| static | execute_parameters () | 
|  | Parameters for execute. 
 | 
|  | 
| static | execute_returns () | 
|  | Return for execute. 
 | 
|  | 
This is the external API for generic xAPI state deletion. 
- Since
- Moodle 4.2 
- Copyright
- 2023 Ferran Recio 
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 
◆ execute()
  
  | 
        
          | static core_xapi\external\delete_state::execute | ( | string | $component, |  
          |  |  | string | $activityiri, |  
          |  |  | string | $agent, |  
          |  |  | string | $stateid, |  
          |  |  | ?string | $registration = null ) |  | static | 
 
Process a state delete request. 
- Parameters
- 
  
    | string | $component | The component name in frankenstyle. |  | string | $activityiri | The activity IRI. |  | string | $agent | The agent JSON. |  | string | $stateid | The xAPI state id. |  | string | null | $registration | The xAPI registration UUID. |  
 
- Return values
- 
  
    | bool | Whether the state has been removed or not. |  
 
 
 
◆ execute_parameters()
  
  | 
        
          | static core_xapi\external\delete_state::execute_parameters | ( |  | ) |  |  | static | 
 
Parameters for execute. 
- Return values
- 
  
    | external_function_parameters |  |  
 
 
 
The documentation for this class was generated from the following file: