MediaWiki  1.34.0
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...
 
 has ( $name)
 Check whether a configuration option is set for the given name. 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)

◆ has()

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

Referenced by MediaWiki\Extension\OATHAuth\Hook\GetUserPermissionsErrors\CheckExclusiveRights\callback().


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