BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
GlobalVarConfig Class Reference
Inheritance diagram for GlobalVarConfig:
Collaboration diagram for GlobalVarConfig:

Public Member Functions

 __construct ($prefix= 'wg')
 
 get ($name)
 
 has ($name)
 

Static Public Member Functions

static newInstance ()
 

Protected Member Functions

 getWithPrefix ($prefix, $name)
 
 hasWithPrefix ($prefix, $name)
 

Detailed Description

Accesses configuration settings from $GLOBALS

Since
1.23

Member Function Documentation

GlobalVarConfig::get (   $name)
See Also
Config::get

Implements Config.

GlobalVarConfig::getWithPrefix (   $prefix,
  $name 
)
protected

Get a variable with a given prefix, if not the defaults.

Parameters
string$prefixPrefix to use on the variable, if one.
string$nameVariable name without prefix
Returns
mixed
GlobalVarConfig::has (   $name)
See Also
Config::has

Implements Config.

GlobalVarConfig::hasWithPrefix (   $prefix,
  $name 
)
protected

Check if a variable with a given prefix is set

Parameters
string$prefixPrefix to use on the variable
string$nameVariable name without prefix
Returns
bool
static GlobalVarConfig::newInstance ( )
static

Default builder function

Returns
GlobalVarConfig

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