Public Member Functions | |
render () | |
saveConfVars () | |
loadConfVars ($sShopId, $sModule) | |
_unserializeConfVar ($sType, $sName, $sValue) | |
_serializeConfVar ($sType, $sName, $mValue) | |
getEditObjectId () | |
Protected Member Functions | |
_getModuleForConfigVars () | |
_parseConstraint ($sType, $sConstraint) | |
_serializeConstraint ($sType, $sConstraint) | |
_arrayToMultiline ($aInput) | |
_multilineToArray ($sMultiline) | |
_aarrayToMultiline ($aInput) | |
_multilineToAarray ($sMultiline) | |
Protected Attributes | |
$_sThisTemplate = 'shop_config.tpl' | |
$_aSkipMultiline = array('aHomeCountry', 'iShopID_TrustedShops', 'aTsUser', 'aTsPassword') | |
$_aParseFloat = array('iMinOrderPrice') | |
$_aConfParams |
Admin shop config manager. Collects shop config information, updates it on user submit, etc. Admin Menu: Main Menu -> Core Settings -> General.
Definition at line 8 of file shop_config.php.
Shop_Config._aarrayToMultiline | ( | $ | aInput | ) | [protected] |
Converts associative array to multiline text. Returns this text.
array | $aInput Array to convert |
Definition at line 384 of file shop_config.php.
Shop_Config._arrayToMultiline | ( | $ | aInput | ) | [protected] |
Converts simple array to multiline text. Returns this text.
array | $aInput Array with text |
Definition at line 345 of file shop_config.php.
Shop_Config._getModuleForConfigVars | ( | ) | [protected] |
return theme filter for config variables
Reimplemented in Module_Config, and Theme_Config.
Definition at line 100 of file shop_config.php.
Shop_Config._multilineToAarray | ( | $ | sMultiline | ) | [protected] |
Converts Multiline text to associative array. Returns this array.
string | $sMultiline Multiline text |
Reimplemented in dyn_trusted_ratings.
Definition at line 406 of file shop_config.php.
Shop_Config._multilineToArray | ( | $ | sMultiline | ) | [protected] |
Converts Multiline text to simple array. Returns this array.
string | $sMultiline Multiline text |
Reimplemented in dyn_trusted_ratings.
Definition at line 362 of file shop_config.php.
Shop_Config._parseConstraint | ( | $ | sType, | |
$ | sConstraint | |||
) | [protected] |
parse constraint from type and serialized values
string | $sType variable type | |
string | $sConstraint serialized constraint |
Definition at line 222 of file shop_config.php.
Shop_Config._serializeConfVar | ( | $ | sType, | |
$ | sName, | |||
$ | mValue | |||
) |
Serialize config var depending on it's type
string | $sType var type | |
string | $sName var name | |
mixed | $mValue var value |
Definition at line 308 of file shop_config.php.
Shop_Config._serializeConstraint | ( | $ | sType, | |
$ | sConstraint | |||
) | [protected] |
serialize constraint from type and value
string | $sType variable type | |
mixed | $sConstraint constraint value |
Definition at line 240 of file shop_config.php.
Shop_Config._unserializeConfVar | ( | $ | sType, | |
$ | sName, | |||
$ | sValue | |||
) |
Unserialize config var depending on it's type
string | $sType var type | |
string | $sName var name | |
string | $sValue var value |
Definition at line 259 of file shop_config.php.
Shop_Config.getEditObjectId | ( | ) |
Returns active/editable object id
Reimplemented from oxAdminView.
Definition at line 430 of file shop_config.php.
Shop_Config.loadConfVars | ( | $ | sShopId, | |
$ | sModule | |||
) |
Load and parse config vars from db. Return value is a map: 'vars' => config variable values as array[type][name] = value 'constraints' => constraints list as array[name] = constraint 'grouping' => grouping info as array[name] = grouping
string | $sShopId Shop id | |
string | $sModule module to load (empty string is for base values) |
Definition at line 164 of file shop_config.php.
Shop_Config.render | ( | ) |
Executes parent method parent.render(), passes shop configuration parameters to Smarty and returns name of template file "shop_config.tpl".
Reimplemented from oxAdminDetails.
Reimplemented in dyn_econda, dyn_trusted, dyn_trusted_ratings, Module_Config, Shop_Seo, Shop_System, and Theme_Config.
Definition at line 30 of file shop_config.php.
Shop_Config.saveConfVars | ( | ) |
Saves shop configuration variables
Reimplemented in Module_Config, and Theme_Config.
Definition at line 108 of file shop_config.php.
Shop_Config.$_aConfParams [protected] |
array( "bool" => 'confbools', "str" => 'confstrs', "arr" => 'confarrs', "aarr" => 'confaarrs', "select" => 'confselects', "num" => 'confnum', )
Definition at line 15 of file shop_config.php.
Shop_Config.$_aParseFloat = array('iMinOrderPrice') [protected] |
Definition at line 13 of file shop_config.php.
Shop_Config.$_aSkipMultiline = array('aHomeCountry', 'iShopID_TrustedShops', 'aTsUser', 'aTsPassword') [protected] |
Reimplemented in dyn_trusted_ratings.
Definition at line 12 of file shop_config.php.
Shop_Config.$_sThisTemplate = 'shop_config.tpl' [protected] |
Reimplemented from oxAdminView.
Reimplemented in Shop_License, Shop_Performance, shop_rdfa, and Shop_System.
Definition at line 11 of file shop_config.php.