PHP 클래스 eZ\Publish\Core\FieldType\Integer\SearchField

상속: implements eZ\Publish\SPI\FieldType\Indexable
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
getDefaultMatchField ( ) : string Get name of the default field to be used for matching.
getDefaultSortField ( ) : string Get name of the default field to be used for sorting.
getIndexData ( eZ\Publish\SPI\Persistence\Content\Field $field, eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition ) : eZ\Publish\SPI\Search\Field[] Get index data for field for search backend.
getIndexDefinition ( ) : eZ\Publish\SPI\Search\FieldType[] Get index field types for search backend.

메소드 상세

getDefaultMatchField() 공개 메소드

As field types can index multiple fields (see MapLocation field type's implementation of this interface), this method is used to define default field for matching. Default field is typically used by Field criterion.
public getDefaultMatchField ( ) : string
리턴 string

getDefaultSortField() 공개 메소드

As field types can index multiple fields (see MapLocation field type's implementation of this interface), this method is used to define default field for sorting. Default field is typically used by Field sort clause.
public getDefaultSortField ( ) : string
리턴 string

getIndexData() 공개 메소드

Get index data for field for search backend.
public getIndexData ( eZ\Publish\SPI\Persistence\Content\Field $field, eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition ) : eZ\Publish\SPI\Search\Field[]
$field eZ\Publish\SPI\Persistence\Content\Field
$fieldDefinition eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition
리턴 eZ\Publish\SPI\Search\Field[]

getIndexDefinition() 공개 메소드

Get index field types for search backend.
public getIndexDefinition ( ) : eZ\Publish\SPI\Search\FieldType[]
리턴 eZ\Publish\SPI\Search\FieldType[]