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

Static Public Member Functions

static execute (array $policies, int $userid=0)
 Set the acceptance status (accept or decline only) for the indicated policies for the given user.
 
static execute_parameters ()
 Webservice parameters.
 
static execute_returns ()
 Webservice returns.
 

Member Function Documentation

◆ execute()

static tool_policy\external\set_acceptances_status::execute ( array $policies,
int $userid = 0 )
static

Set the acceptance status (accept or decline only) for the indicated policies for the given user.

Parameters
array$policiesthe policies to set the acceptance status
int$useridthe user id we want to retrieve the acceptances
Exceptions
moodle_exception
Return values
arraypolicies and acceptance status

◆ execute_parameters()

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

Webservice parameters.

Return values
external_function_parameters

◆ execute_returns()

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

Webservice returns.

Return values
external_single_structure

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