[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/phpbb/php/ -> ini.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 171 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ini:: (6 methods):
  get()
  get_string()
  get_bool()
  get_int()
  get_float()
  get_bytes()


Class: ini  - X-Ref

Wrapper class for ini_get function.

Provides easier handling of the different interpretations of ini values.
get($varname)   X-Ref
Simple wrapper for ini_get()
See http://php.net/manual/en/function.ini-get.php

param: string $varname    The configuration option name.
return: bool|string        False if configuration option does not exist,

get_string($varname)   X-Ref
Gets the configuration option value as a trimmed string.

param: string $varname    The configuration option name.
return: bool|string        False if configuration option does not exist,

get_bool($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: bool                False if configuration option does not exist.

get_int($varname)   X-Ref
Gets configuration option value as an integer.

param: string $varname    The configuration option name.
return: bool|int            False if configuration option does not exist,

get_float($varname)   X-Ref
Gets configuration option value as a float.

param: string $varname    The configuration option name.
return: bool|float        False if configuration option does not exist,

get_bytes($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: bool|int|float    False if configuration option does not exist,



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1