\config

Summary

Methods
Properties
Constants
getDefaultConfiguration()
save()
remove()
byKey()
byKeys()
searchKey()
genKey()
getPluginEnable()
getLogLevelPlugin()
postConfig_market_allowDNS()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$defaultConfiguration
$cache
N/A

Properties

$defaultConfiguration

$defaultConfiguration : 

Type

$cache

$cache : 

Type

Methods

getDefaultConfiguration()

getDefaultConfiguration(  $_plugin = 'core') 

Parameters

$_plugin

save()

save(string  $_key, string  $_value,   $_plugin = 'core') : boolean

Ajoute une clef à la config

Parameters

string $_key

nom de la clef

string $_value

valeur de la clef

$_plugin

Returns

boolean —

vrai si ok faux sinon

remove()

remove(string  $_key,   $_plugin = 'core') : boolean

Supprime une clef de la config

Parameters

string $_key

nom de la clef à supprimer

$_plugin

Returns

boolean —

vrai si ok faux sinon

byKey()

byKey(string  $_key,   $_plugin = 'core',   $_default = '',   $_forceFresh = false) : string

Retourne la valeur d'une clef

Parameters

string $_key

nom de la clef dont on veut la valeur

$_plugin
$_default
$_forceFresh

Returns

string —

valeur de la clef

byKeys()

byKeys(  $_keys,   $_plugin = 'core',   $_default = '') 

Parameters

$_keys
$_plugin
$_default

searchKey()

searchKey(  $_key,   $_plugin = 'core') 

Parameters

$_key
$_plugin

genKey()

genKey(  $_car = 32) 

Parameters

$_car

getPluginEnable()

getPluginEnable() 

getLogLevelPlugin()

getLogLevelPlugin() 

postConfig_market_allowDNS()

postConfig_market_allowDNS(  $_value) 

Parameters

$_value