PHP Интерфейс eZ\Publish\Core\Search\Elasticsearch\Content\MapperInterface

Note that custom implementations might need to be accompanied by custom mappings.
Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
mapContent ( eZ\Publish\SPI\Persistence\Content $content ) : Document Maps given Content to a Document.
mapContentById ( integer | string $contentId ) : Document Maps given Content by given $contentId to a Document.
mapLocation ( eZ\Publish\SPI\Persistence\Content\Location $location ) : Document Maps given Location to a Document.

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

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

Maps given Content to a Document.
public mapContent ( eZ\Publish\SPI\Persistence\Content $content ) : Document
$content eZ\Publish\SPI\Persistence\Content
Результат Document

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

Maps given Content by given $contentId to a Document.
public mapContentById ( integer | string $contentId ) : Document
$contentId integer | string
Результат Document

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

Returned Document represents a "parent" Location document searchable with Location Search.
public mapLocation ( eZ\Publish\SPI\Persistence\Content\Location $location ) : Document
$location eZ\Publish\SPI\Persistence\Content\Location
Результат Document