eZPublishCommunityProject  2013.9
eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField Class Reference

Action to remove a field from content objects. More...

+ Inheritance diagram for eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField:
+ Collaboration diagram for eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField:

Public Member Functions

 __construct (ContentGateway $contentGateway, FieldDefinition $fieldDef, StorageHandler $storageHandler)
 Creates a new action. More...
 
 apply (Content $content)
 Applies the action to the given $content. More...
 
- Public Member Functions inherited from eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action
 __construct (ContentGateway $contentGateway)
 Creates a new action. More...
 
 apply (Content $content)
 Applies the action to the given $content. More...
 

Protected Attributes

 $fieldDefinition
 
 $storageHandler
 
- Protected Attributes inherited from eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action
 $contentGateway
 

Detailed Description

Action to remove a field from content objects.

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField::__construct ( ContentGateway  $contentGateway,
FieldDefinition  $fieldDef,
StorageHandler  $storageHandler 
)

Creates a new action.

Parameters
\eZ\Publish\Core\Persistence\Legacy\Content\Gateway$contentGateway
\eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition$fieldDef
\eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler$storageHandler

Member Function Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField::apply ( Content  $content)

Applies the action to the given $content.

Parameters
\eZ\Publish\SPI\Persistence\Content$content
Returns
void

Member Data Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField::$fieldDefinition
protected
eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField::$storageHandler
protected

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