phpDocumentor

ProductVariantsDeleter

Class ProductVariantsDeleter

Table of Contents

$connection  : Connection
__construct()  : mixed
ProductVariantsDeleter constructor.
deleteAdminSelectDataForProduct()  : void
deleteAdminSelectDataForProductAndOption()  : void
deleteAllProductVariantsByProductId()  : void
deleteProductVariants()  : void
deleteCombinationsFromProduct()  : void

Properties

Methods

__construct()

ProductVariantsDeleter constructor.

public __construct(Connection $connection) : mixed
Parameters
$connection : Connection
Return values
mixed

deleteAdminSelectDataForProduct()

public deleteAdminSelectDataForProduct(ProductId $productId) : void
Parameters
$productId : ProductId
Tags
description

deletes all entries for $productId in products_properties_admin_select

throws
Exception
Return values
void

deleteAdminSelectDataForProductAndOption()

public deleteAdminSelectDataForProductAndOption(ProductId $productId, int $optionId) : void
Parameters
$productId : ProductId
$optionId : int
Tags
throws
Exception
Return values
void

deleteCombinationsFromProduct()

protected deleteCombinationsFromProduct(array<string|int, int> $ids) : void
Parameters
$ids : array<string|int, int>
Tags
throws
Exception
Return values
void

Search results