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

Static Public Member Functions

static execute ($userid=0, $statuses=[], $types=[], $creationmethods=[], $sort='', $limitfrom=0, $limitnum=0)
 Get data requests.
 
static execute_parameters ()
 Webservice parameters.
 
static execute_returns ()
 Webservice returns.
 

Member Function Documentation

◆ execute()

static tool_dataprivacy\external\get_data_requests::execute ( $userid = 0,
$statuses = [],
$types = [],
$creationmethods = [],
$sort = '',
$limitfrom = 0,
$limitnum = 0 )
static

Get data requests.

Parameters
int$useridThe user id.
array$statusesThe status filters.
array$typesThe request type filters.
array$creationmethodsThe request creation method filters.
string$sortThe order by clause.
int$limitfromAmount of records to skip.
int$limitnumAmount of records to fetch.
Exceptions
moodle_exception
Return values
arraycontaining the data requests and warnings.

◆ execute_parameters()

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

Webservice parameters.

Return values
external_function_parameters

◆ execute_returns()

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

Webservice returns.

Return values
external_single_structure

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