PHP Class eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler

Datei anzeigen Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
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.

Method Details

deleteOldType() abstract public method

Deletes $fromType and all of its field definitions.
abstract public deleteOldType ( eZ\Publish\SPI\Persistence\Content\Type $fromType )
$fromType eZ\Publish\SPI\Persistence\Content\Type

publishNewType() abstract public method

Publishes $toType to $newStatus.
abstract public publishNewType ( eZ\Publish\SPI\Persistence\Content\Type $toType, integer $newStatus )
$toType eZ\Publish\SPI\Persistence\Content\Type
$newStatus integer

updateContentObjects() abstract public method

Updates existing content objects from $fromType to $toType.
abstract 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