FilterOperation
class FilterOperation extends FilterOperation (View source)
This filter implementation contains specific behavior for use on ContentRepository
nodes. It will not evaluate any elements that are not instances of the
Node.
The implementation changes the behavior of the instanceof operator to
work on node types instead of PHP object types, so that::
[instanceof Neos.NodeTypes:Page]
will in fact use isOfType() on the NodeType of context elements to
filter. This filter allow also to filter the current context by a given
node. Anything else remains unchanged.
Traits
Utility trait for retrieving node types for nodes with a built-in fallback mechanism
Properties
| protected ContentRepositoryRegistry | $contentRepositoryRegistry | ||
| static protected int | $priority | {@inheritdoc} |
Methods
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
Details
protected NodeType
getNodeType(Node $node)
deprecated
deprecated
No description
bool
canEvaluate(array<int, mixed> $context)
{@inheritdoc}
void
evaluate(FlowQuery $flowQuery, array $arguments)
{@inheritdoc}
protected bool
matchesPropertyNameFilter(object $element, string $propertyNameFilter)
{@inheritdoc}
protected bool
matchesIdentifierFilter(Node $element, string $identifier)
{@inheritdoc}
protected mixed
getPropertyPath(Node $element, string $propertyPath)
{@inheritdoc}
protected bool
evaluateOperator(mixed $value, string $operator, mixed $operand)
{@inheritdoc}