PHP Class Neos\ContentRepository\Migration\Filters\DimensionValues

Inheritance: implements Neos\ContentRepository\Migration\Filters\FilterInterface
Datei anzeigen Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$contentDimensionRepository Neos\ContentRepository\Domain\Repository\ContentDimensionRepository
$dimensionValues array The array of dimension values to filter for.
$filterForDefaultDimensionValues boolean Overrides the given dimensionValues with dimension defaults.

Public Methods

Method Description
matches ( NodeData $node ) : boolean Returns TRUE if the given node has the default dimension values.
setDimensionValues ( array $dimensionValues )
setFilterForDefaultDimensionValues ( boolean $filterForDefaultDimensionValues )

Method Details

matches() public method

Returns TRUE if the given node has the default dimension values.
public matches ( NodeData $node ) : boolean
$node Neos\ContentRepository\Domain\Model\NodeData
return boolean

setDimensionValues() public method

public setDimensionValues ( array $dimensionValues )
$dimensionValues array

setFilterForDefaultDimensionValues() public method

public setFilterForDefaultDimensionValues ( boolean $filterForDefaultDimensionValues )
$filterForDefaultDimensionValues boolean

Property Details

$contentDimensionRepository protected_oe property

protected ContentDimensionRepository,Neos\ContentRepository\Domain\Repository $contentDimensionRepository
return Neos\ContentRepository\Domain\Repository\ContentDimensionRepository

$dimensionValues protected_oe property

The array of dimension values to filter for.
protected array $dimensionValues
return array

$filterForDefaultDimensionValues protected_oe property

Overrides the given dimensionValues with dimension defaults.
protected bool $filterForDefaultDimensionValues
return boolean