Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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: