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