MediaWiki  REL1_24
MultiConfig Class Reference

Provides a fallback sequence for Config objects. More...

Inheritance diagram for MultiConfig:
Collaboration diagram for MultiConfig:

List of all members.

Public Member Functions

 __construct (array $configs)
 get ($name)
 has ($name)

Private Attributes

Config[] $configs
 Array of Config objects to use Order matters, the Config objects will be checked in order to see whether they have the requested setting.

Detailed Description

Provides a fallback sequence for Config objects.

Since:
1.24

Definition at line 28 of file MultiConfig.php.


Constructor & Destructor Documentation

Parameters:
Config[]$configs

Definition at line 42 of file MultiConfig.php.


Member Function Documentation

MultiConfig::get ( name)
See also:
Config::get

Implements Config.

Definition at line 49 of file MultiConfig.php.

MultiConfig::has ( name)
See also:
Config::has

Implements Config.

Definition at line 62 of file MultiConfig.php.


Member Data Documentation

Config [] MultiConfig::$configs [private]

Array of Config objects to use Order matters, the Config objects will be checked in order to see whether they have the requested setting.

Definition at line 37 of file MultiConfig.php.


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