The cache config class used when the Cache has been disabled.
More...
The cache config class used when the Cache has been disabled.
- Copyright
- 2012 Sam Hemelryk
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ add_store_instance()
cache_config_disabled::add_store_instance |
( |
|
$name, |
|
|
|
$plugin, |
|
|
array |
$configuration = array() |
|
) |
| |
Adds a plugin instance.
- Parameters
-
string | $name | Unused. |
string | $plugin | Unused. |
array | $configuration | Unused. |
- Return values
-
- Exceptions
-
◆ create_default_configuration()
static cache_config_disabled::create_default_configuration |
( |
|
$forcesave = false | ) |
|
|
static |
Creates the default configuration and saves it.
- Parameters
-
bool | $forcesave | Ignored because we are disabled! |
- Return values
-
◆ delete_store_instance()
cache_config_disabled::delete_store_instance |
( |
|
$name | ) |
|
Deletes a store instance.
- Parameters
-
- Return values
-
- Exceptions
-
◆ edit_store_instance()
cache_config_disabled::edit_store_instance |
( |
|
$name, |
|
|
|
$plugin, |
|
|
|
$configuration |
|
) |
| |
Edits a give plugin instance.
- Parameters
-
string | $name | Unused. |
string | $plugin | Unused. |
array | $configuration | Unused. |
- Return values
-
- Exceptions
-
◆ generate_configuration_array()
cache_config_disabled::generate_configuration_array |
( |
| ) |
|
|
protected |
Generates a configuration array suitable to be written to the config file.
- Return values
-
◆ instance()
static cache_config_disabled::instance |
( |
| ) |
|
|
static |
Returns an instance of the configuration writer.
- Return values
-
◆ locate_definitions()
static cache_config_disabled::locate_definitions |
( |
|
$coreonly = false | ) |
|
|
staticprotected |
Locates all of the definition files.
- Parameters
-
- Return values
-
◆ set_definition_mappings()
cache_config_disabled::set_definition_mappings |
( |
|
$definition, |
|
|
|
$mappings |
|
) |
| |
Sets the mappings for a given definition.
- Parameters
-
string | $definition | Unused. |
array | $mappings | Unused. |
- Exceptions
-
◆ set_mode_mappings()
cache_config_disabled::set_mode_mappings |
( |
array |
$modemappings | ) |
|
Sets the mode mappings.
- Parameters
-
array | $modemappings | Unused. |
- Return values
-
- Exceptions
-
◆ update_definitions()
static cache_config_disabled::update_definitions |
( |
|
$coreonly = false | ) |
|
|
static |
Updates the definition in the configuration from those found in the cache files.
- Parameters
-
The documentation for this class was generated from the following file: