Tiger_Model_Config
@api· extendsTiger_Model_Table
Config — the runtime config override layer (see migration 0009).
Read by Tiger_Application_Bootstrap::_initConfigs, which folds the rows onto the
ini config cascade (global first, then the current org). Values are dot-notation
keys (tiger.skin) mapped into the nested Zend_Config. This is also the per-org
theming resolver — an org row tiger.skin reskins that org.
Methods
getForScope()
getForScope($scope, $scopeId = '')
Active config rows for a scope (+ optional scope id). Global uses scope_id ''.
$scopestring— the scope (global/org/user)$scopeIdstring— the scope id ('' for global)
Returns Zend_Db_Table_Rowset_Abstract — the matching config rows
get()
get($scope, $scopeId, $key)
Fetch a single config value, or null.
$scopestring— the scope (global/org/user)$scopeIdstring— the scope id ('' for global)$keystring— the dot-notation config key
Returns string|null — the config value, or null when unset
set()
set($scope, $scopeId, $key, $value)
Upsert a config value for a scope. Returns the config_id.
$scopestring— the scope (global/org/user)$scopeIdstring— the scope id ('' for global)$keystring— the dot-notation config key$valuestring— the config value to store
Returns string — the config_id