PHP Interface eZ\Publish\Core\Search\Elasticsearch\Content\MapperInterface

Note that custom implementations might need to be accompanied by custom mappings.
Afficher le fichier Open project: ezsystems/ezpublish-kernel Interface Usage Examples

Méthodes publiques

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

Method Details

mapContent() public méthode

Maps given Content to a Document.
public mapContent ( eZ\Publish\SPI\Persistence\Content $content ) : Document
$content eZ\Publish\SPI\Persistence\Content
Résultat Document

mapContentById() public méthode

Maps given Content by given $contentId to a Document.
public mapContentById ( integer | string $contentId ) : Document
$contentId integer | string
Résultat Document

mapLocation() public méthode

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