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)

No description

delete($cfKey, $pkgID = null)

No description

Details

__construct()

protected load()

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

Get a config item.

Parameters

string $cfKey
int $pkgID optional

Return Value

ConfigValue|void

getListByPackage($pkgID)

Parameters

$pkgID

set($cfKey, $cfValue, $pkgID)

Parameters

$cfKey
$cfValue
$pkgID

delete($cfKey, $pkgID = null)

Parameters

$cfKey
$pkgID