Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
tool_dataprivacy\external\create_data_request Class Reference
Inheritance diagram for tool_dataprivacy\external\create_data_request:

Static Public Member Functions

static execute (int $type, string $comments='', int $foruserid=0)
 Create a data request.
 
static execute_parameters ()
 Webservice parameters.
 
static execute_returns ()
 Webservice returns.
 

Member Function Documentation

◆ execute()

static tool_dataprivacy\external\create_data_request::execute ( int $type,
string $comments = '',
int $foruserid = 0 )
static

Create a data request.

Parameters
int$typeThe type of data request to create.
string$commentsComments for the data request.
int$foruseridThe id of the user to create the data request for.
Return values
arraycontaining the id of the request created and warnings.
Exceptions
moodle_exception

◆ execute_parameters()

static tool_dataprivacy\external\create_data_request::execute_parameters ( )
static

Webservice parameters.

Return values
external_function_parameters

◆ execute_returns()

static tool_dataprivacy\external\create_data_request::execute_returns ( )
static

Webservice returns.

Return values
external_single_structure

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