PHP Класс Neos\ContentRepository\Migration\Filters\NodeType

Наследование: implements Neos\ContentRepository\Migration\Filters\FilterInterface
Показать файл Открыть проект

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

Свойство Тип Описание
$exclude boolean If set this NodeType is actually excluded instead exclusively included.
$nodeTypeName string The node type to match on.
$withSubTypes boolean If set to true also all subtypes of the given nodeType will match.

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

Метод Описание
matches ( NodeData $node ) : boolean Returns TRUE if the given node is of the node type this filter expects.
setExclude ( boolean $exclude ) Whether the filter should exclude the given NodeType instead of including only this node type.
setNodeType ( string $nodeTypeName ) : void Sets the node type name to match on.
setWithSubTypes ( boolean $withSubTypes ) : void Whether the filter should match also on all subtypes of the configured node type.

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

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

Returns TRUE if the given node is of the node type this filter expects.
public matches ( NodeData $node ) : boolean
$node Neos\ContentRepository\Domain\Model\NodeData
Результат boolean

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

Whether the filter should exclude the given NodeType instead of including only this node type.
public setExclude ( boolean $exclude )
$exclude boolean

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

Sets the node type name to match on.
public setNodeType ( string $nodeTypeName ) : void
$nodeTypeName string
Результат void

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

Note: This can only be used with node types still available in the system!
public setWithSubTypes ( boolean $withSubTypes ) : void
$withSubTypes boolean
Результат void

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

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

If set this NodeType is actually excluded instead exclusively included.
protected bool $exclude
Результат boolean

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

The node type to match on.
protected string $nodeTypeName
Результат string

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

If set to true also all subtypes of the given nodeType will match.
protected bool $withSubTypes
Результат boolean