| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Copyright 2014 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
| File Size: | 108 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 1 time |
| Includes or requires: | 0 files |
GlobalVarConfig:: (8 methods):
newInstance()
__construct()
get()
has()
set()
getWithPrefix()
hasWithPrefix()
setWithPrefix()
Class: GlobalVarConfig - X-Ref
Accesses configuration settings from $GLOBALS| newInstance() X-Ref |
| Default builder function return: GlobalVarConfig |
| __construct( $prefix = 'wg' ) X-Ref |
| No description |
| get( $name ) X-Ref |
| has( $name ) X-Ref |
| set( $name, $value ) X-Ref |
| getWithPrefix( $prefix, $name ) X-Ref |
| Get a variable with a given prefix, if not the defaults. param: string $prefix Prefix to use on the variable, if one. param: string $name Variable name without prefix return: mixed |
| hasWithPrefix( $prefix, $name ) X-Ref |
| Check if a variable with a given prefix is set param: string $prefix Prefix to use on the variable param: string $name Variable name without prefix return: bool |
| setWithPrefix( $prefix, $name, $value ) X-Ref |
| Get a variable with a given prefix, if not the defaults. param: string $prefix Prefix to use on the variable param: string $name Variable name without prefix param: mixed $value Value to set |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |