ChildrenOperation
class ChildrenOperation extends AbstractOperation (View source)
"children" operation working on ContentRepository nodes. It iterates over all context elements and returns all child nodes or only those matching the filter expression specified as optional argument.
Properties
static protected string | $shortName | {@inheritdoc} |
|
static protected int | $priority | {@inheritdoc} |
|
protected ContentRepositoryRegistry | $contentRepositoryRegistry |
Methods
bool
canEvaluate(array<int,mixed> $context)
{@inheritdoc}
void
evaluate(FlowQuery $flowQuery, array $arguments)
{@inheritdoc}
bool
earlyOptimizationOfFilters(FlowQuery $flowQuery, array $parsedFilter)
Optimize for typical use cases, filter by node name and filter by NodeType (instanceof). These cases are now optimized and will only load the nodes that match the filters.
Details
bool
canEvaluate(array<int,mixed> $context)
{@inheritdoc}
void
evaluate(FlowQuery $flowQuery, array $arguments)
{@inheritdoc}
protected bool
earlyOptimizationOfFilters(FlowQuery $flowQuery, array $parsedFilter)
Optimize for typical use cases, filter by node name and filter by NodeType (instanceof). These cases are now optimized and will only load the nodes that match the filters.