[ Index ]

PHP Cross Reference of phpBB-3.1.10-deutsch

title

Body

[close]

/phpbb/ -> config_php_file.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: 160 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

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.

return: mixed Value of the variable or null if the variable is not defined.
param: string $variable The name of the variable

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.

return: string driver class
param: string $dbms dbms parameter



Generated: Sun Feb 19 19:52:41 2017 Cross-referenced by PHPXref 0.7.1