PHP 인터페이스 eZ\Publish\Core\Search\Elasticsearch\Content\MapperInterface

Note that custom implementations might need to be accompanied by custom mappings.
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 0 사용 예제들

공개 메소드들

메소드 설명
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