Class ProductRepositoryDeleteHelper
| package |
Default |
|---|
_determinePcdIdsToBeRemovedInPcr(\CI_DB_query_builder $db, integer $productContentId) : array
\CI_DB_query_builderDatabase access instance.
integerProduct content id to be removed.
arrayProduct content description ids or an empty array.
_determinePcIdToBeRemoved(\IdType $productId, \CI_DB_query_builder $db) : array
\CI_DB_query_builderDatabase access instance.
arrayIds of product contents to be removed, if there are any.
_removeProductContentByProductId(\IdType $productId, \CI_DB_query_builder $db, \ProductsContentFileStorage $productsContentFileStorage, \ResponsiveFileManagerConfigurationStorage $fileManagerStorage) : $this
\CI_DB_query_builderQuery builder instance to access data.
\ResponsiveFileManagerConfigurationStorageFile manager configuration access.
$this
_removeProductContentDescriptionEntries(\CI_DB_query_builder $db, integer $pcId) : $this|\ProductRepositoryDeleteHelper
\CI_DB_query_builderDatabase access instance.
integerRelated product content id.
$this|\ProductRepositoryDeleteHelperSame instance for chained method calls.
_removeProductContentEntries(\CI_DB_query_builder $db, integer $pcId) : $this|\ProductRepositoryDeleteHelper
\CI_DB_query_builderDatabase access instance.
integerId of product content record to be removed.
$this|\ProductRepositoryDeleteHelperSame instance for chained method calls.
_removeProductContentProductsEntries(\CI_DB_query_builder $db, \IdType $productId) : $this|\ProductRepositoryDeleteHelper
\CI_DB_query_builderDatabase access instance.
$this|\ProductRepositoryDeleteHelperSame instance for chained method calls.
_removeProductContentResourceEntries(\CI_DB_query_builder $db, array $pcdIds) : $this|\ProductRepositoryDeleteHelper
\CI_DB_query_builderDatabase access instance.
arrayRelated product content description ids.
$this|\ProductRepositoryDeleteHelperSame instance for chained method calls.
_removeUnusedProductContentFiles(integer $productContentIdToBeRemoved, \CI_DB_query_builder $db, \ProductsContentFileStorage $productsContentFileStorage) : $this
integer
\CI_DB_query_builder
\ProductsContentFileStorage
$this
productsContent(\IdType $productId, \CI_DB_query_builder $db, \ProductsContentFileStorage $productsContentFileStorage, \ResponsiveFileManagerConfigurationStorage $fileManagerStorage) : $this|\ProductRepositoryDeleteHelper
\CI_DB_query_builderQuery builder instance to access data.
\ResponsiveFileManagerConfigurationStorageFile manager configuration access.
$this|\ProductRepositoryDeleteHelperSame instance for chained method calls.
propertyCombinationImages(\IdType $combinationId) : $this|\ProductRepositoryDeleteHelper
resetCategoriesAndAlsoPurchasedCache() : $this|\ProductRepositoryDeleteHelper