PHP Класс eZ\Publish\Core\FieldType\Unindexed

Наследование: implements eZ\Publish\SPI\FieldType\Indexable
Показать файл Открыть проект

Открытые методы

Метод Описание
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[]