Class CategoryAddonValueStorage

Class CategoryAddonValueStorage

This class extends AbstractAddonValueStorage and handles the association of key-value pairs inside the CategoryAddonValueStorage to the columns and tables inside the database. All addon values except these you have registered in the Method '_getExternalFieldsArray' will be stored in the 'addon_values_storage' table associated with the AddonValueContainerId (category ID).

AbstractAddonValueStorage
CategoryAddonValueStorage

Methods summary

protected _getContainerType( void ) : string

Get the container class type.

protected _getExternalFieldsArray( void ) : array

This method is for registering the addon values which are not stored inside the 'addon_values_storage' table.

Methods inherited from AbstractAddonValueStorage

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

Properties summary

Properties inherited from AbstractAddonValueStorage

$db, $externalFields