Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
core\check\external\get_result_admintree Class Reference
Inheritance diagram for core\check\external\get_result_admintree:

Static Public Member Functions

static execute (string $admintreeid, string $settingname, bool $includedetails, admin_root $admintree=null)
 Gets the result of the check and returns it.
 
static execute_parameters ()
 Defines parameters.
 
static execute_returns ()
 Defines return structure.
 

Detailed Description

Member Function Documentation

◆ execute()

static core\check\external\get_result_admintree::execute ( string $admintreeid,
string $settingname,
bool $includedetails,
admin_root $admintree = null )
static

Gets the result of the check and returns it.

Parameters
string$admintreeidID of admin_setting to find check object from
string$settingnameName of admin_setting to find check object from
bool$includedetailsIf the details should be included in the response.
admin_root | null$admintreeRoot of admin tree to use (for unit testing)
Return values
arrayreturned data

◆ execute_parameters()

static core\check\external\get_result_admintree::execute_parameters ( )
static

Defines parameters.

Return values
external_function_parameters

◆ execute_returns()

static core\check\external\get_result_admintree::execute_returns ( )
static

Defines return structure.

Return values
external_single_structure

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