Property | Type | Description | |
---|---|---|---|
$fieldNameResolver | Field map. |
Method | Description | |
---|---|---|
__construct ( |
Create from field map. | |
canVisit ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion ) : boolean | Check if visitor is applicable to current criterion. | |
visitFilter ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, |
Map field value to a proper Elasticsearch filter representation. | |
visitQuery ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, |
Map field value to a proper Elasticsearch query representation. |
Method | Description | |
---|---|---|
getCondition ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion ) : array | Returns nested condition common for filter and query contexts. | |
getFieldNames ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, string $fieldDefinitionIdentifier ) : array | Get field type information. |
public __construct ( |
||
$fieldNameResolver |
protected getCondition ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion ) : array | ||
$criterion | eZ\Publish\API\Repository\Values\Content\Query\Criterion | |
return | array |
protected getFieldNames ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, string $fieldDefinitionIdentifier ) : array | ||
$criterion | eZ\Publish\API\Repository\Values\Content\Query\Criterion | |
$fieldDefinitionIdentifier | string | |
return | array |
public visitFilter ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, |
||
$criterion | eZ\Publish\API\Repository\Values\Content\Query\Criterion | |
$dispatcher | ||
$languageFilter | array | |
return | mixed |
public visitQuery ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, |
||
$criterion | eZ\Publish\API\Repository\Values\Content\Query\Criterion | |
$dispatcher | ||
$languageFilter | array | |
return | mixed |