PHP Класс eZ\Publish\Core\Search\Legacy\Content\Mapper\FullTextMapper

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$contentTypeHandler eZ\Publish\SPI\Persistence\Content\Type\Handler Content type handler.
$fieldRegistry eZ\Publish\Core\Search\Common\FieldRegistry Field registry.

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

Метод Описание
__construct ( FieldRegistry $fieldRegistry, eZ\Publish\SPI\Persistence\Content\Type\Handler $contentTypeHandler )
mapContent ( eZ\Publish\SPI\Persistence\Content $content ) : FullTextData Map given Content to a FullTextValue.

Защищенные методы

Метод Описание
getFullTextValues ( eZ\Publish\SPI\Persistence\Content $content ) : FullTextValue[] Returns an array of FullTextValue object containing searchable values of content object fields for the given $content.

Приватные методы

Метод Описание
getFullTextFieldValue ( eZ\Publish\SPI\Persistence\Content\Field $field, eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition ) : string Get FullTextField value.

Описание методов

__construct() публичный Метод

public __construct ( FieldRegistry $fieldRegistry, eZ\Publish\SPI\Persistence\Content\Type\Handler $contentTypeHandler )
$fieldRegistry eZ\Publish\Core\Search\Common\FieldRegistry
$contentTypeHandler eZ\Publish\SPI\Persistence\Content\Type\Handler

getFullTextValues() защищенный Метод

Returns an array of FullTextValue object containing searchable values of content object fields for the given $content.
protected getFullTextValues ( eZ\Publish\SPI\Persistence\Content $content ) : FullTextValue[]
$content eZ\Publish\SPI\Persistence\Content
Результат eZ\Publish\Core\Search\Legacy\Content\FullTextValue[]

mapContent() публичный Метод

Map given Content to a FullTextValue.
public mapContent ( eZ\Publish\SPI\Persistence\Content $content ) : FullTextData
$content eZ\Publish\SPI\Persistence\Content
Результат eZ\Publish\Core\Search\Legacy\Content\FullTextData

Описание свойств

$contentTypeHandler защищенное свойство

Content type handler.
protected Handler,eZ\Publish\SPI\Persistence\Content\Type $contentTypeHandler
Результат eZ\Publish\SPI\Persistence\Content\Type\Handler

$fieldRegistry защищенное свойство

Field registry.
protected FieldRegistry,eZ\Publish\Core\Search\Common $fieldRegistry
Результат eZ\Publish\Core\Search\Common\FieldRegistry