PHP Class eZ\Publish\Core\FieldType\TextBlock\SearchField

Inheritance: implements eZ\Publish\SPI\FieldType\Indexable
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
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.

Method Details

getDefaultMatchField() public méthode

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
Résultat string

getDefaultSortField() public méthode

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
Résultat string

getIndexData() public méthode

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
Résultat eZ\Publish\SPI\Search\Field[]

getIndexDefinition() public méthode

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