Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
core_cache\configurable_cache_interface Interface Reference
Inheritance diagram for core_cache\configurable_cache_interface:
cachestore_apcu cachestore_file cachestore_redis

Static Public Member Functions

static config_get_configuration_array ($data)
 Given the data from the add instance form this function creates a configuration array.
 
static config_set_edit_form_data (moodleform $editform, array $config)
 Allows the cache store to set its data against the edit form before it is shown to the user.
 

Member Function Documentation

◆ config_get_configuration_array()

static core_cache\configurable_cache_interface::config_get_configuration_array ( $data)
static

Given the data from the add instance form this function creates a configuration array.

Parameters
stdClass$data
Return values
array

Implemented in cachestore_apcu, cachestore_file, and cachestore_redis.

◆ config_set_edit_form_data()

static core_cache\configurable_cache_interface::config_set_edit_form_data ( moodleform $editform,
array $config )
static

Allows the cache store to set its data against the edit form before it is shown to the user.

Parameters
moodleform$editform
array$config

Implemented in cachestore_apcu, cachestore_file, and cachestore_redis.


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