Class OrderItemAddonValueStorage

Class OrderItemAddonValueStorage

AbstractAddonValueStorage
OrderItemAddonValueStorage

Methods summary

protected _setExternalValues( IdType $containerId, KeyValueCollection $values )

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.

protected _getContainerType( void ) : string

Get the container class type.

protected _getExternalFieldsArray( void ) : array

Returns a multidimensional array with the primary key of the orders_products table and the required column names with the corresponding key used in the KeyValueCollection.

Methods inherited from AbstractAddonValueStorage

__construct(), _getExternalValuesByContainerId(), deleteValuesByContainerId(), getValuesByContainerId(), setValues()

Properties summary

Properties inherited from AbstractAddonValueStorage

$db, $externalFields