MediaWiki  1.23.2
Config Interface Reference

Interface for configuration instances. More...

Inheritance diagram for Config:

Public Member Functions

 get ( $name)
 Get a configuration variable such as "Sitename" or "UploadMaintenance.". More...
 
 set ( $name, $value)
 Set a configuration variable such a "Sitename" to something like "My Wiki". More...
 

Detailed Description

Interface for configuration instances.

Since
1.23

Definition at line 28 of file Config.php.

Member Function Documentation

◆ get()

Config::get (   $name)

Get a configuration variable such as "Sitename" or "UploadMaintenance.".

Parameters
string$nameName of configuration option
Returns
mixed Value configured
Exceptions
ConfigException

Implemented in GlobalVarConfig.

◆ set()

Config::set (   $name,
  $value 
)

Set a configuration variable such a "Sitename" to something like "My Wiki".

Parameters
string$nameName of configuration option
mixed$valueValue to set
Exceptions
ConfigException

Implemented in GlobalVarConfig.


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