Class AbstractAddonValueStorage
Class AbstractAddonValueStorage
Direct known subclasses
CategoryAddonValueStorage
,
CustomerAddonValueStorage
,
OrderAddonValueStorage
,
OrderItemAddonValueStorage
,
ProductAddonValueStorage
Package: AddonValue
Category: System
Located at Services/System/AddonValue/AbstractAddonValueStorage.inc.php
Methods summary
public
|
|
public
|
|
public
|
|
protected
array
|
#
_getExternalValuesByContainerId(
Selects the fields specified in the external fields array $this->externalFields by the given container ID and returns the associative array which will be merged with the associative array with values from the addon_values_storage table. |
protected
|
#
_setExternalValues(
Updates the fields specified in the external fields array $this->externalFields with the corresponding values from the provided KeyValueCollection and removes the elements from the collection before the called method writes into the addon_values_storage table. |
public
|
|
abstract protected
array
|
#
_getExternalFieldsArray( )
Should return a multidimensional array of database tables with corresponding primary keys and the column names with the corresponding key used in the KeyValueCollection which are relevant for addon values and not stored in the addon_values_storage table. |
abstract protected
string
|
Properties summary
protected
CI_DB_query_builder
|
$db
|
|
protected
array
|
$externalFields
Multidimensional array of database tables with corresponding primary keys and the fields which are relevant for addon values which are not stored in the addon_values_storage table. |
#
array()
|