PHP Класс eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler\DeferredLegacy

Наследование: extends eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$contentTypeGateway eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway

Открытые методы

Метод Описание
__construct ( Gateway $contentTypeGateway ) 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.

Описание методов

__construct() публичный Метод

Creates a new content type update handler.
public __construct ( Gateway $contentTypeGateway )
$contentTypeGateway eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway

deleteOldType() публичный Метод

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

publishNewType() публичный Метод

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

updateContentObjects() публичный Метод

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

Описание свойств

$contentTypeGateway защищенное свойство

protected Gateway,eZ\Publish\Core\Persistence\Legacy\Content\Type $contentTypeGateway
Результат eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway