Свойство | Type | Description | |
---|---|---|---|
$fieldNameResolver | Field map. |
Méthode | 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. |
Méthode | 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 | |
Résultat | 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 | |
Résultat | array |
public visitFilter ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, |
||
$criterion | eZ\Publish\API\Repository\Values\Content\Query\Criterion | |
$dispatcher | ||
$languageFilter | array | |
Résultat | mixed |
public visitQuery ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, |
||
$criterion | eZ\Publish\API\Repository\Values\Content\Query\Criterion | |
$dispatcher | ||
$languageFilter | array | |
Résultat | mixed |