Interface for configuration instances.
More...
List of all members.
Public Member Functions |
| get ($name) |
| Get a configuration variable such as "Sitename" or "UploadMaintenance.".
|
| has ($name) |
| Check whether a configuration option is set for the given name.
|
Detailed Description
Interface for configuration instances.
- Since:
- 1.23
Definition at line 28 of file Config.php.
Member Function Documentation
Get a configuration variable such as "Sitename" or "UploadMaintenance.".
- Parameters:
-
string | $name | Name of configuration option |
- Returns:
- mixed Value configured
- Exceptions:
-
Implemented in HashConfig, GlobalVarConfig, and MultiConfig.
Check whether a configuration option is set for the given name.
- Parameters:
-
string | $name | Name 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: