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

Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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 méthode

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 méthode

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