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

상속: extends AbstractTransformation
파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$addDefaultDimensionValues boolean Sets the default dimension values for all dimensions that were not given.
$contentDimensionRepository Neos\ContentRepository\Domain\Repository\ContentDimensionRepository
$dimensionValues array If you omit a configured dimension this transformation will set the default value for that dimension.

공개 메소드들

메소드 설명
execute ( NodeData $node ) : void Change the property on the given node.
setAddDefaultDimensionValues ( boolean $addDefaultDimensionValues )
setDimensionValues ( array $dimensionValues )

메소드 상세

execute() 공개 메소드

Change the property on the given node.
public execute ( NodeData $node ) : void
$node Neos\ContentRepository\Domain\Model\NodeData
리턴 void

setAddDefaultDimensionValues() 공개 메소드

public setAddDefaultDimensionValues ( boolean $addDefaultDimensionValues )
$addDefaultDimensionValues boolean

setDimensionValues() 공개 메소드

public setDimensionValues ( array $dimensionValues )
$dimensionValues array

프로퍼티 상세

$addDefaultDimensionValues 보호되어 있는 프로퍼티

Sets the default dimension values for all dimensions that were not given.
protected bool $addDefaultDimensionValues
리턴 boolean

$contentDimensionRepository 보호되어 있는 프로퍼티

protected ContentDimensionRepository,Neos\ContentRepository\Domain\Repository $contentDimensionRepository
리턴 Neos\ContentRepository\Domain\Repository\ContentDimensionRepository

$dimensionValues 보호되어 있는 프로퍼티

If you omit a configured dimension this transformation will set the default value for that dimension.
protected array $dimensionValues
리턴 array