[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch

title

Body

[close]

/phpbb/db/migration/tool/ -> config.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: 165 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

config:: (7 methods):
  __construct()
  get_name()
  add()
  update()
  update_if_equals()
  remove()
  reverse()


Class: config  - X-Ref

Migration config tool

__construct(\phpbb\config\config $config)   X-Ref
Constructor

param: \phpbb\config\config $config

get_name()   X-Ref
{@inheritdoc}


add($config_name, $config_value, $is_dynamic = false)   X-Ref
Add a config setting.

param: string $config_name The name of the config setting
param: mixed $config_value The value of the config setting
param: bool $is_dynamic True if it is dynamic (changes very often)
return: null

update($config_name, $config_value)   X-Ref
Update an existing config setting.

param: string $config_name The name of the config setting you would
param: mixed $config_value The value of the config setting
return: null

update_if_equals($compare, $config_name, $config_value)   X-Ref
Update a config setting if the first argument equal to the
current config value

param: string $compare If equal to the current config value, will be
param: string $config_name The name of the config setting you would
param: mixed $config_value The value of the config setting
return: null

remove($config_name)   X-Ref
Remove an existing config setting.

param: string $config_name The name of the config setting you would
return: null

reverse()   X-Ref
{@inheritdoc}




Generated: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1