Public Member Functions | |
render () | |
saveConfVars () | |
save () | |
_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 383 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 346 of file shop_config.php.
Shop_Config._getModuleForConfigVars | ( | ) | [protected] |
return theme filter for config variables
Reimplemented in Theme_Config.
Definition at line 99 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 165 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 404 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 223 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 307 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 241 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 260 of file shop_config.php.
Shop_Config.getEditObjectId | ( | ) |
Returns active/editable object id
Reimplemented from oxAdminView.
Definition at line 428 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_affiliwelt, dyn_econda, dyn_ipayment, dyn_trusted, dyn_trusted_ratings, Shop_License, Shop_Seo, Shop_System, and Theme_Config.
Definition at line 28 of file shop_config.php.
Shop_Config.save | ( | ) |
Saves changed shop configuration parameters.
Reimplemented from oxAdminView.
Reimplemented in dyn_affiliwelt, dyn_trusted, dyn_trusted_ratings, and Shop_Seo.
Definition at line 138 of file shop_config.php.
Shop_Config.saveConfVars | ( | ) |
Saves shop configuration variables
Reimplemented in Theme_Config.
Definition at line 109 of file shop_config.php.
Shop_Config.$_aConfParams [protected] |
array( "bool" => 'confbools', "str" => 'confstrs', "arr" => 'confarrs', "aarr" => 'confaarrs', "select" => 'confselects', )
Definition at line 14 of file shop_config.php.
Shop_Config.$_aParseFloat = array('iMinOrderPrice') [protected] |
Definition at line 12 of file shop_config.php.
Shop_Config.$_aSkipMultiline = array('aHomeCountry', 'iShopID_TrustedShops', 'aTsUser', 'aTsPassword') [protected] |
Reimplemented in dyn_trusted_ratings.
Definition at line 11 of file shop_config.php.
Shop_Config.$_sThisTemplate = 'shop_config.tpl' [protected] |
Reimplemented from oxAdminView.
Reimplemented in Shop_License, Shop_Performance, and Shop_System.
Definition at line 10 of file shop_config.php.