ParentsUntilOperation
class ParentsUntilOperation extends AbstractOperation (View source)
"parentsUntil" operation working on ContentRepository nodes. It iterates over all context elements and returns the parent nodes until the matching parent is found.
If an optional filter expression is provided as a second argument, it only returns the nodes matching the given expression.
Properties
static protected string | $shortName | {@inheritdoc} | |
static protected int | $priority | {@inheritdoc} |
Methods
bool
canEvaluate($context)
{@inheritdoc}
void
evaluate(FlowQuery $flowQuery, array $arguments)
{@inheritdoc}
array
array
Details
bool
canEvaluate($context)
{@inheritdoc}
void
evaluate(FlowQuery $flowQuery, array $arguments)
{@inheritdoc}
protected array
getParents(TraversableNodeInterface $contextNode)
No description
protected array
getNodesUntil(array $parentNodes, TraversableNodeInterface $until)
No description