Property | Type | Description | |
---|---|---|---|
$contentTypeGateway |
Method | Description | |
---|---|---|
__construct ( |
Creates a new content type update handler. | |
deleteOldType ( eZ\Publish\SPI\Persistence\Content\Type $fromType ) | Deletes $fromType and all of its field definitions. | |
publishNewType ( eZ\Publish\SPI\Persistence\Content\Type $toType, integer $newStatus ) | Publishes $toType to $newStatus. | |
updateContentObjects ( eZ\Publish\SPI\Persistence\Content\Type $fromType, eZ\Publish\SPI\Persistence\Content\Type $toType ) | Updates existing content objects from $fromType to $toType. |
public __construct ( |
||
$contentTypeGateway |
public deleteOldType ( eZ\Publish\SPI\Persistence\Content\Type $fromType ) | ||
$fromType | eZ\Publish\SPI\Persistence\Content\Type |
public publishNewType ( eZ\Publish\SPI\Persistence\Content\Type $toType, integer $newStatus ) | ||
$toType | eZ\Publish\SPI\Persistence\Content\Type | |
$newStatus | integer |
public updateContentObjects ( 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 |