Bridge criterion between Product Catalog and Content Repository.
Properties¶
$operator¶
Criterion.php
:
23
The operator used by the Criterion.
|
|
$target¶
Criterion.php
:
37
The target used by the criteria (field, metadata...).
|
|
$value¶
Criterion.php
:
30
The value(s) matched by the criteria.
|
|
$valueData¶
Criterion.php
:
44
Additional value data, required by some criterions, MapLocationDistance for instance.
|
|
Methods¶
__construct() ¶
ProductCriterionAdapter.php
:
29
Performs operator validation based on the Criterion specifications returned by {@see getSpecifications()}.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$criterion | CriterionInterface | - | - |
getProductCriterion() ¶
ProductCriterionAdapter.php
:
45
|
|
Return values
getSpecifications() ¶
ProductCriterionAdapter.php
:
37
Criterion description function.
|
|
Return values
array<string|int, Specifications>