MediaWiki  REL1_23
Config Interface Reference

Interface for configuration instances. More...

Inheritance diagram for Config:

List of all members.

Public Member Functions

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

Detailed Description

Interface for configuration instances.

Since:
1.23

Definition at line 28 of file Config.php.


Member Function Documentation

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.

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: