phpDocumentor

AttributeModifierReader implements AttributeModifierReaderInterface

Class AttributeModifierReader

Interfaces, Classes and Traits

AttributeModifierReaderInterface

Table of Contents

$attributeStockCheck  : bool
$builder  : ModifierDTOBuilderInterface
$checkStockBeforeShoppingCart  : bool
$connection  : Connection
$hideAttributesOutOfStock  : bool
$showAttributesStock  : bool
$stockAllowCheckout  : bool
$stockCheck  : bool
__construct()  : mixed
AttributeModifierReader constructor.
getModifierByProduct()  : ModifierDTOCollectionInterface
getModifierBySellingUnit()  : mixed
hasStock()  : bool|null
isSelectable()  : bool
setSelectedRecords()  : mixed

Properties

Methods

__construct()

AttributeModifierReader constructor.

public __construct(Connection $connection, ModifierDTOBuilderInterface $builder, bool $stockCheck, bool $attributeStockCheck, bool $stockAllowCheckout, bool $setAttributesOutOfStock, bool $checkStockBeforeShoppingCart, bool $showAttributesStock) : mixed
Parameters
$connection : Connection
$builder : ModifierDTOBuilderInterface
$stockCheck : bool
$attributeStockCheck : bool
$stockAllowCheckout : bool
$setAttributesOutOfStock : bool
$checkStockBeforeShoppingCart : bool
$showAttributesStock : bool
Return values
mixed

setSelectedRecords()

protected setSelectedRecords(array<string|int, mixed> $selectedAttributes, array<string|int, mixed> $records) : mixed
Parameters
$selectedAttributes : array<string|int, mixed>
$records : array<string|int, mixed>
Return values
mixed

Search results