BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
Config Interface Reference
Inheritance diagram for Config:

Public Member Functions

 get ($name)
 
 has ($name)
 

Detailed Description

Interface for configuration instances

Since
1.23

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 HashConfig, GlobalVarConfig, and MultiConfig.

Config::has (   $name)

Check whether a configuration option is set for the given name

Parameters
string$nameName of configuration option
Returns
bool
Since
1.24

Implemented in HashConfig, MultiConfig, and GlobalVarConfig.


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