| [ Index ] | PHP Cross Reference of phpBB-3.3.14-deutsch | 
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 162 lines (5 kb) | 
| Included or required: | 0 times | 
| Referenced: | 0 times | 
| Includes or requires: | 0 files | 
IniGetWrapper:: (8 methods):
  get()
  getString()
  getBool()
  getNumeric()
  getBytes()
  getList()
  listContains()
  getPhp()
Class: IniGetWrapper - X-Ref
Wrapper class around built-in ini_get() function.| get($varname) X-Ref | 
| Simple wrapper around ini_get() See http://php.net/manual/en/function.ini-get.php param: string $varname The configuration option name. return: null|string Null if configuration option does not exist. | 
| getString($varname) X-Ref | 
| Gets the configuration option value as a trimmed string. param: string $varname The configuration option name. return: null|string Null if configuration option does not exist. | 
| getBool($varname) X-Ref | 
| Gets configuration option value as a boolean. Interprets the string value 'off' as false. param: string $varname The configuration option name. return: null|bool Null if configuration option does not exist. | 
| getNumeric($varname) X-Ref | 
| Gets configuration option value as an integer. param: string $varname The configuration option name. return: null|int|float Null if configuration option does not exist or is not numeric. | 
| getBytes($varname) X-Ref | 
| Gets configuration option value in bytes. Converts strings like '128M' to bytes (integer or float). param: string $varname The configuration option name. return: null|int|float Null if configuration option does not exist or is not well-formed. | 
| getList($varname) X-Ref | 
| Gets configuration option value as a list (array). Converts comma-separated string into list (array). param: string $varname The configuration option name. return: null|array Null if configuration option does not exist. | 
| listContains($varname, $needle) X-Ref | 
| Checks whether a list contains a given element (string). param: string $varname The configuration option name. param: string $needle The element to check whether it is contained in the list. return: null|bool Null if configuration option does not exist. | 
| getPhp($varname) X-Ref | 
| param: string $varname The configuration option name. | 
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |