PHP 클래스 Neos\ContentRepository\Migration\Transformations\AddNewProperty

상속: extends AbstractTransformation
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$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