PHP Класс eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action\RemoveField

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

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

Свойство Тип Описание
$contentMapper eZ\Publish\Core\Persistence\Legacy\Content\Mapper
$fieldDefinition eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition Field definition of the field to remove.
$storageHandler eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler Storage handler.

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

Метод Описание
__construct ( Gateway $contentGateway, eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDef, StorageHandler $storageHandler, Mapper $contentMapper ) Creates a new action.
apply ( integer $contentId ) Applies the action to the given $content.

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

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

Creates a new action.
public __construct ( Gateway $contentGateway, eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDef, StorageHandler $storageHandler, Mapper $contentMapper )
$contentGateway eZ\Publish\Core\Persistence\Legacy\Content\Gateway
$fieldDef eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition
$storageHandler eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler
$contentMapper eZ\Publish\Core\Persistence\Legacy\Content\Mapper

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

Applies the action to the given $content.
public apply ( integer $contentId )
$contentId integer

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

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

protected Mapper,eZ\Publish\Core\Persistence\Legacy\Content $contentMapper
Результат eZ\Publish\Core\Persistence\Legacy\Content\Mapper

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

Field definition of the field to remove.
protected FieldDefinition,eZ\Publish\SPI\Persistence\Content\Type $fieldDefinition
Результат eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition

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

Storage handler.
protected StorageHandler,eZ\Publish\Core\Persistence\Legacy\Content $storageHandler
Результат eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler