PHP Класс Neos\ContentRepository\Migration\Transformations\AddNewProperty

Наследование: extends AbstractTransformation
Показать файл Открыть проект

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

Свойство Тип Описание
$newPropertyName string
$value string

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

Метод Описание
execute ( NodeData $node ) : void Add the new property with the given value on the given node.
isTransformable ( NodeData $node ) : boolean If the given node has no property this transformation should work on, this returns TRUE.
setNewPropertyName ( string $newPropertyName ) : void Sets the name of the new property to be added.
setValue ( string $value ) : void Property value to be set.

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

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

Add the new property with the given value on the given node.
public execute ( NodeData $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeData
Результат void

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

If the given node has no property this transformation should work on, this returns TRUE.
public isTransformable ( NodeData $node ) : boolean
$node Neos\ContentRepository\Domain\Model\NodeData
Результат boolean

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

Sets the name of the new property to be added.
public setNewPropertyName ( string $newPropertyName ) : void
$newPropertyName string
Результат void

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

Property value to be set.
public setValue ( string $value ) : void
$value string
Результат void

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

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

protected string $newPropertyName
Результат string

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

protected string $value
Результат string