class ConfigStore (View source)

Properties

protected Database $db
protected array $rows

Methods

__construct()

No description

load()

No description

ConfigValue|void
get(string $cfKey, int $pkgID = null)

Get a config item.

getListByPackage($pkgID)

No description

set($cfKey, $cfValue, $pkgID = 0)

No description

delete($cfKey, $pkgID = null)

No description

Details

__construct()

No description

protected load()

No description

ConfigValue|void get(string $cfKey, int $pkgID = null)

Get a config item.

Parameters

string $cfKey
int $pkgID optional

Return Value

ConfigValue|void

getListByPackage($pkgID)

No description

Parameters

$pkgID

set($cfKey, $cfValue, $pkgID = 0)

No description

Parameters

$cfKey
$cfValue
$pkgID

delete($cfKey, $pkgID = null)

No description

Parameters

$cfKey
$pkgID