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
NodeInterface
.
The implementation changes the behavior of the instanceof
operator to
work on node types instead of PHP object types, so that::
[instanceof Acme.Com: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.
Properties
static protected int | $priority | {@inheritdoc} |
Methods
bool
canEvaluate(array $context)
{@inheritdoc}
void
evaluate(FlowQuery $flowQuery, array $arguments)
{@inheritdoc}
bool
matchesPropertyNameFilter(object $element, string $propertyNameFilter)
{@inheritdoc}
bool
mixed
bool
evaluateOperator(mixed $value, string $operator, mixed $operand)
{@inheritdoc}
Details
bool
canEvaluate(array $context)
{@inheritdoc}
void
evaluate(FlowQuery $flowQuery, array $arguments)
{@inheritdoc}
protected bool
matchesPropertyNameFilter(object $element, string $propertyNameFilter)
{@inheritdoc}
protected bool
matchesIdentifierFilter(NodeInterface $element, string $identifier)
{@inheritdoc}
protected mixed
getPropertyPath(NodeInterface $element, string $propertyPath)
{@inheritdoc}
protected bool
evaluateOperator(mixed $value, string $operator, mixed $operand)
{@inheritdoc}