Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_admin\external\set_block_protection Class Reference
Inheritance diagram for core_admin\external\set_block_protection:

Static Public Member Functions

static execute (string $plugin, int $state,)
 Set the block protection state.
 
static execute_parameters ()
 Returns description of method parameters.
 
static execute_returns ()
 Describe the return structure of the external service.
 

Detailed Description

Member Function Documentation

◆ execute()

static core_admin\external\set_block_protection::execute ( string $plugin,
int $state )
static

Set the block protection state.

Parameters
string$pluginThe name of the plugin
int$stateThe target state
Return values
null

◆ execute_parameters()

static core_admin\external\set_block_protection::execute_parameters ( )
static

Returns description of method parameters.

Return values
external_function_parameters

◆ execute_returns()

static core_admin\external\set_block_protection::execute_returns ( )
static

Describe the return structure of the external service.

Return values
external_single_structure

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