Property | Type | Description | |
---|---|---|---|
$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. |
Method | Description | |
---|---|---|
matches ( |
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. |
public setExclude ( boolean $exclude ) | ||
$exclude | boolean |
public setNodeType ( string $nodeTypeName ) : void | ||
$nodeTypeName | string | |
return | void |
public setWithSubTypes ( boolean $withSubTypes ) : void | ||
$withSubTypes | boolean | |
return | void |
protected bool $exclude | ||
return | boolean |
protected string $nodeTypeName | ||
return | string |
protected bool $withSubTypes | ||
return | boolean |