Class ProductRepositoryDeleteHelper
package |
Default |
---|
_determinePcdIdsToBeRemovedInPcr(\CI_DB_query_builder $db, integer $productContentId) : array
\CI_DB_query_builder
Database access instance.
integer
Product content id to be removed.
array
Product content description ids or an empty array.
_determinePcIdToBeRemoved(\IdType $productId, \CI_DB_query_builder $db) : array
\CI_DB_query_builder
Database access instance.
array
Ids 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_builder
Query builder instance to access data.
\ResponsiveFileManagerConfigurationStorage
File manager configuration access.
$this
_removeProductContentDescriptionEntries(\CI_DB_query_builder $db, integer $pcId) : $this|\ProductRepositoryDeleteHelper
\CI_DB_query_builder
Database access instance.
integer
Related product content id.
$this|\ProductRepositoryDeleteHelper
Same instance for chained method calls.
_removeProductContentEntries(\CI_DB_query_builder $db, integer $pcId) : $this|\ProductRepositoryDeleteHelper
\CI_DB_query_builder
Database access instance.
integer
Id of product content record to be removed.
$this|\ProductRepositoryDeleteHelper
Same instance for chained method calls.
_removeProductContentProductsEntries(\CI_DB_query_builder $db, \IdType $productId) : $this|\ProductRepositoryDeleteHelper
\CI_DB_query_builder
Database access instance.
$this|\ProductRepositoryDeleteHelper
Same instance for chained method calls.
_removeProductContentResourceEntries(\CI_DB_query_builder $db, array $pcdIds) : $this|\ProductRepositoryDeleteHelper
\CI_DB_query_builder
Database access instance.
array
Related product content description ids.
$this|\ProductRepositoryDeleteHelper
Same 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_builder
Query builder instance to access data.
\ResponsiveFileManagerConfigurationStorage
File manager configuration access.
$this|\ProductRepositoryDeleteHelper
Same instance for chained method calls.
propertyCombinationImages(\IdType $combinationId) : $this|\ProductRepositoryDeleteHelper
resetCategoriesAndAlsoPurchasedCache() : $this|\ProductRepositoryDeleteHelper