Свойство | Тип | Описание | |
---|---|---|---|
$contentHandler | eZ\Publish\SPI\Persistence\Content\Handler | Content handler. | |
$contentTypeHandler | eZ\Publish\SPI\Persistence\Content\Type\Handler | Content type handler. | |
$fieldNameGenerator | Field name generator. | ||
$fieldRegistry | Field registry. | ||
$locationHandler | eZ\Publish\SPI\Persistence\Content\Location\Handler | Location handler. | |
$objectStateHandler | eZ\Publish\SPI\Persistence\Content\ObjectState\Handler | Object state handler. | |
$sectionHandler | eZ\Publish\SPI\Persistence\Content\Section\Handler | Section handler. |
Метод | Описание | |
---|---|---|
__construct ( |
||
mapContent ( eZ\Publish\SPI\Persistence\Content $content ) : |
Maps given Content to a Document. | |
mapContentById ( integer | string $contentId ) : |
Maps given Content by given $contentId to a Document. | |
mapLocation ( eZ\Publish\SPI\Persistence\Content\Location $location ) : |
Maps given Location to a Document. |
Метод | Описание | |
---|---|---|
getAncestorLocationsContentIds ( integer | string $contentId ) : array | Returns Content ids of all ancestor Locations of all Locations of a Content with given $contentId. | |
getObjectStateIds ( integer | string $contentId ) : array | Returns an array of object state ids of a Content with given $contentId. | |
mapContentLocation ( eZ\Publish\SPI\Persistence\Content\Location $location, eZ\Publish\SPI\Persistence\Content $content ) : |
Maps given $location of a $content to a Document. | |
mapFields ( eZ\Publish\SPI\Persistence\Content $content, eZ\Publish\SPI\Persistence\Content\Type $contentType ) : |
Returns an array of documents containing fields for the given $content. |
public __construct ( |
||
$fieldRegistry | ||
$fieldNameGenerator | ||
$contentHandler | eZ\Publish\SPI\Persistence\Content\Handler | |
$locationHandler | eZ\Publish\SPI\Persistence\Content\Location\Handler | |
$contentTypeHandler | eZ\Publish\SPI\Persistence\Content\Type\Handler | |
$objectStateHandler | eZ\Publish\SPI\Persistence\Content\ObjectState\Handler | |
$sectionHandler | eZ\Publish\SPI\Persistence\Content\Section\Handler |
public mapContent ( eZ\Publish\SPI\Persistence\Content $content ) : |
||
$content | eZ\Publish\SPI\Persistence\Content | |
Результат |
public mapContentById ( integer | string $contentId ) : |
||
$contentId | integer | string | |
Результат |
protected mapContentLocation ( eZ\Publish\SPI\Persistence\Content\Location $location, eZ\Publish\SPI\Persistence\Content $content ) : |
||
$location | eZ\Publish\SPI\Persistence\Content\Location | |
$content | eZ\Publish\SPI\Persistence\Content | |
Результат |
protected mapFields ( eZ\Publish\SPI\Persistence\Content $content, eZ\Publish\SPI\Persistence\Content\Type $contentType ) : |
||
$content | eZ\Publish\SPI\Persistence\Content | |
$contentType | eZ\Publish\SPI\Persistence\Content\Type | |
Результат |
public mapLocation ( eZ\Publish\SPI\Persistence\Content\Location $location ) : |
||
$location | eZ\Publish\SPI\Persistence\Content\Location | |
Результат |
protected Handler,eZ\Publish\SPI\Persistence\Content $contentHandler | ||
Результат | eZ\Publish\SPI\Persistence\Content\Handler |
protected Handler,eZ\Publish\SPI\Persistence\Content\Type $contentTypeHandler | ||
Результат | eZ\Publish\SPI\Persistence\Content\Type\Handler |
protected FieldNameGenerator,eZ\Publish\Core\Search\Common $fieldNameGenerator | ||
Результат |
protected FieldRegistry,eZ\Publish\Core\Search\Common $fieldRegistry | ||
Результат |
protected Handler,eZ\Publish\SPI\Persistence\Content\Location $locationHandler | ||
Результат | eZ\Publish\SPI\Persistence\Content\Location\Handler |
protected Handler,eZ\Publish\SPI\Persistence\Content\ObjectState $objectStateHandler | ||
Результат | eZ\Publish\SPI\Persistence\Content\ObjectState\Handler |