eZPublishCommunityProject  2013.4
eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler Class Reference

Base class for update handlers. More...

+ Inheritance diagram for eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler:

Public Member Functions

 deleteOldType ($fromType)
 Deletes $fromType and all of its field definitions. More...
 
 publishNewType ($toType, $newStatus)
 Publishes $toType to $newStatus. More...
 
 updateContentObjects ($fromType, $toType)
 Updates existing content objects from $fromType to $toType. More...
 

Detailed Description

Base class for update handlers.

Member Function Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler::deleteOldType (   $fromType)
abstract

Deletes $fromType and all of its field definitions.

Parameters
\eZ\Publish\SPI\Persistence\Content\Type$fromType
Returns
void
eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler::publishNewType (   $toType,
  $newStatus 
)
abstract

Publishes $toType to $newStatus.

Parameters
\eZ\Publish\SPI\Persistence\Content\Type$toType
int$newStatus
Returns
void
eZ\Publish\Core\Persistence\Legacy\Content\Type\Update\Handler::updateContentObjects (   $fromType,
  $toType 
)
abstract

Updates existing content objects from $fromType to $toType.

Parameters
\eZ\Publish\SPI\Persistence\Content\Type$fromType
\eZ\Publish\SPI\Persistence\Content\Type$toType
Returns
void

The documentation for this class was generated from the following file: