PHP 클래스 Neos\ContentRepository\Migration\Filters\NodeType

상속: implements Neos\ContentRepository\Migration\Filters\FilterInterface
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

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