phpDocumentor

CachedPropertyReader extends PropertyReader
in package

Class PropertyReader

Table of Contents

$cache  : array<string|int, mixed>
$cheapestCombinationFor  : mixed
$getCombinationModifierIds  : mixed
$getCombinationsFor  : mixed
$hasNonLinearSurcharge  : mixed
$hasProperties  : mixed
$hasSurcharge  : mixed
$numberOfProperties  : mixed
$builder  : CombinationBuilderInterface
$checkStockBeforeShoppingCartCriteria  : CheckStockBeforeShoppingCartCriteria
$checkStockCriteria  : CheckStockCriteria
$connection  : Connection
__construct()  : mixed
PropertyReader constructor.
getCheapestCombinationFor()  : mixed|void
getCombinationFor()  : mixed
getCombinationModifierIds()  : ModifierIdentifierCollectionInterface
getCombinationsFor()  : CombinationCollectionInterface
hasProperties()  : mixed
activeLanguageId()  : int
createCombination()  : Combination
createQuery()  : string
createSurcharge()  : CombinationSurcharge|null
createVpe()  : Vpe|null
filterProperties()  : array<string|int, string>
filterStock()  : string
getCombinationStockConfiguration()  : int
getNumberOfProperties()  : int
hasNonLinearSurcharge()  : bool
hasSurcharge()  : bool
isCheapest()  : bool

Properties

$cache

protected array<string|int, mixed> $cache = ['getCombinationModifierIds' => [], 'hasProperties' => []]

Methods

activeLanguageId()

protected activeLanguageId() : int
Return values
int

createCombination()

protected createCombination(array<string|int, mixed> $row, bool $nonLinearSurcharge[, bool $cheapest = false ]) : Combination
Parameters
$row : array<string|int, mixed>
$nonLinearSurcharge : bool
$cheapest : bool = false
Return values
Combination

createQuery()

protected createQuery(int $productId[, string $whereAnd = '' ][, string $having = '' ][, int $limit = 2 ]) : string
Parameters
$productId : int
$whereAnd : string = ''
$having : string = ''
$limit : int = 2
Return values
string

createVpe()

protected createVpe(int $id, string $name, float $value) : Vpe|null
Parameters
$id : int
$name : string
$value : float
Return values
Vpe|null

getCombinationStockConfiguration()

protected getCombinationStockConfiguration(int $productId) : int
Parameters
$productId : int
Tags
throws
DBALException
Return values
int

hasNonLinearSurcharge()

protected hasNonLinearSurcharge(int $productId) : bool
Parameters
$productId : int
Tags
inheritDoc
Return values
bool

hasSurcharge()

protected hasSurcharge(int $productId) : bool
Parameters
$productId : int
Tags
inheritDoc
Return values
bool

Search results