Manual:GlobalVarConfig.php

Class used to access configuration settings from $GLOBALS. It implements the Config interface.

Instantiation

edit
  • It can be instantiated statically with GlobalVarConfig::newInstance(), which automatically sets the default wg prefix for globals.
  • It can be also instantiated with a preferred prefix using the new keyword.

Public methods

edit
  • get( $name )
  • has( $name )

Protected methods

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

See also

edit