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

Static Public Member Functions

static execute (int $userid=0)
 Returns the acceptance status for all the policies the given user can see.
 
static execute_parameters ()
 Webservice parameters.
 
static execute_returns ()
 Webservice returns.
 

Member Function Documentation

◆ execute()

static tool_policy\external\get_user_acceptances::execute ( int $userid = 0)
static

Returns the acceptance status for all the policies the given user can see.

Parameters
int$useridthe user id we want to retrieve the acceptances
Exceptions
required_capability_exception
Return values
arraypolicies and acceptance status

◆ execute_parameters()

static tool_policy\external\get_user_acceptances::execute_parameters ( )
static

Webservice parameters.

Return values
external_function_parameters

◆ execute_returns()

static tool_policy\external\get_user_acceptances::execute_returns ( )
static

Webservice returns.

Return values
external_single_structure

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