PHP 클래스 eZ\Publish\Core\Search\Elasticsearch\Content\SortClauseVisitor\Field\MapLocationDistance

상속: extends eZ\Publish\Core\Search\Elasticsearch\Content\SortClauseVisitor\FieldBase
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$fieldName string Name of the field type's indexed field that criterion can handle.

공개 메소드들

메소드 설명
__construct ( FieldNameResolver $fieldNameResolver, string $fieldName )
canVisit ( eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause ) : boolean Check if visitor is applicable to current sortClause.
visit ( eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause ) : mixed Map field value to a proper Elasticsearch representation.

메소드 상세

__construct() 공개 메소드

public __construct ( FieldNameResolver $fieldNameResolver, string $fieldName )
$fieldNameResolver eZ\Publish\Core\Search\Common\FieldNameResolver
$fieldName string

canVisit() 공개 메소드

Check if visitor is applicable to current sortClause.
public canVisit ( eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause ) : boolean
$sortClause eZ\Publish\API\Repository\Values\Content\Query\SortClause
리턴 boolean

visit() 공개 메소드

Map field value to a proper Elasticsearch representation.
public visit ( eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause ) : mixed
$sortClause eZ\Publish\API\Repository\Values\Content\Query\SortClause
리턴 mixed

프로퍼티 상세

$fieldName 보호되어 있는 프로퍼티

Name of the field type's indexed field that criterion can handle.
protected string $fieldName
리턴 string