PHP 클래스 eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler\DoctrineDatabase

상속: extends eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$contentTypeGateway eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway
$contentUpdater eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater Content updater.

공개 메소드들

메소드 설명
__construct ( Gateway $contentTypeGateway, ContentUpdater $contentUpdater ) 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, ContentUpdater $contentUpdater )
$contentTypeGateway eZ\Publish\Core\Persistence\Legacy\Content\Type\Gateway
$contentUpdater eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater

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

$contentUpdater 보호되어 있는 프로퍼티

Content updater.
protected ContentUpdater,eZ\Publish\Core\Persistence\Legacy\Content\Type $contentUpdater
리턴 eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater