DynamicDatabaseConfigTest1

Extends \DynamicDatabaseConfig

DynamicDatabaseConfigTest1

package

DynamicDatabaseConfigTest

subpackage

Config

Methods

Init config properties

__construct() 
inherited

__notDB1Method5

__notDB1Method5() : boolean

Response

boolean

Rename configs. Can be used for change default configs to public/test configs dependings on method _renameConfig

_applyNamingSchema() 
inherited

Returns list of all config names

_getConfigsNames() : array
inherited

Response

array

Return list of config makers - public methods with configs

_getMakersNames() : array
inherited

Response

array

Makers names

Init config properties from methods

_initialize() 
inherited

_notDB1Method1

_notDB1Method1() : boolean

Response

boolean

_notDB1Method3

_notDB1Method3() : boolean

Response

boolean

_notDB1Method4

_notDB1Method4() : boolean

Response

boolean

Try to rename config accordingly to your rules.

_renameConfig(string $configName) : string
inherited

Called when static::APPLY_NAMING_SCHEMA == true. If returned value not equals to $configName config property with returned name will be erased with config from $configName

Arguments

$configName

string

Response

string

notDB1Method2

notDB1Method2() : boolean

Response

boolean

test_db_name1

test_db_name1() : array

Response

array

testChildDBName1

testChildDBName1() : array

Response

array

testDBName2

testDBName2() : array

Response

array

Constants

If true will apply naming schema after initialize

APPLY_NAMING_SCHEMA
inherited

Properties

$static_db_config_name

static_db_config_name : array
var

Type(s)

array