Class

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

abstract class Handler

Base class for update handlers.

Methods

updateContentObjects(Type $fromType, Type $toType)

Updates existing content objects from $fromType to $toType.

deleteOldType(Type $fromType)

Deletes $fromType and all of its field definitions.

publishNewType(Type $toType, int $newStatus)

Publishes $toType to $newStatus.

Details

at line 24
abstract public updateContentObjects(Type $fromType, Type $toType)

Updates existing content objects from $fromType to $toType.

Parameters

Type $fromType
Type $toType

at line 31
abstract public deleteOldType(Type $fromType)

Deletes $fromType and all of its field definitions.

Parameters

Type $fromType

at line 39
abstract public publishNewType(Type $toType, int $newStatus)

Publishes $toType to $newStatus.

Parameters

Type $toType
int $newStatus