[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
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: | 166 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
config_php_file:: (6 methods):
__construct()
set_config_file()
get_all()
get()
load_config_file()
convert_30_dbms_to_31()
Class: config_php_file - X-Ref
__construct($phpbb_root_path, $php_ext) X-Ref |
Constructor param: string $phpbb_root_path phpBB Root Path param: string $php_ext php file extension |
set_config_file($config_file) X-Ref |
Set the path to the config file. param: string $config_file |
get_all() X-Ref |
Returns an associative array containing the variables defined by the config file. return: array Return the content of the config file or an empty array if the file does not exists. |
get($variable) X-Ref |
Return the value of a variable defined into the config.php file or null if the variable does not exist. param: string $variable The name of the variable return: mixed Value of the variable or null if the variable is not defined. |
load_config_file() X-Ref |
Load the config file and store the information. return: null |
convert_30_dbms_to_31($dbms) X-Ref |
Convert either 3.0 dbms or 3.1 db driver class name to 3.1 db driver class name. If $dbms is a valid 3.1 db driver class name, returns it unchanged. Otherwise prepends phpbb\db\driver\ to the dbms to convert a 3.0 dbms to 3.1 db driver class name. param: string $dbms dbms parameter return: string driver class |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |