Свойство | Тип | Описание | |
---|---|---|---|
$contentGateway | Content gateway. | ||
$contentMapper | |||
$converterRegistry | FieldValue converter registry. | ||
$storageHandler | Storage handler. |
Метод | Описание | |
---|---|---|
__construct ( |
Creates a new content updater. | |
applyUpdates ( mixed $contentTypeId, array $actions ) | Applies all given updates. | |
determineActions ( eZ\Publish\SPI\Persistence\Content\Type $fromType, eZ\Publish\SPI\Persistence\Content\Type $toType ) : |
Determines the necessary update actions. |
Метод | Описание | |
---|---|---|
getContentIdsByContentTypeId ( mixed $contentTypeId ) : int[] | Returns all content objects of $contentTypeId. | |
hasFieldDefinition ( eZ\Publish\SPI\Persistence\Content\Type $type, eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDef ) : boolean | hasFieldDefinition. |
public __construct ( |
||
$contentGateway | ||
$converterRegistry | ||
$storageHandler | ||
$contentMapper |
public applyUpdates ( mixed $contentTypeId, array $actions ) | ||
$contentTypeId | mixed | |
$actions | array |
public determineActions ( eZ\Publish\SPI\Persistence\Content\Type $fromType, eZ\Publish\SPI\Persistence\Content\Type $toType ) : |
||
$fromType | eZ\Publish\SPI\Persistence\Content\Type | |
$toType | eZ\Publish\SPI\Persistence\Content\Type | |
Результат |
protected getContentIdsByContentTypeId ( mixed $contentTypeId ) : int[] | ||
$contentTypeId | mixed | |
Результат | int[] |
protected hasFieldDefinition ( eZ\Publish\SPI\Persistence\Content\Type $type, eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDef ) : boolean | ||
$type | eZ\Publish\SPI\Persistence\Content\Type | |
$fieldDef | eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition | |
Результат | boolean |
protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content $contentGateway | ||
Результат |
protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content $contentMapper | ||
Результат |
protected ConverterRegistry,eZ\Publish\Core\Persistence\Legacy\Content\FieldValue $converterRegistry | ||
Результат |