PHP Class Neos\Neos\Eel\FlowQueryOperations\ParentsUntilOperation

If an optional filter expression is provided as a second argument, it only returns the nodes matching the given expression.
Inheritance: extends Neos\Eel\FlowQuery\Operations\AbstractOperation
Mostrar archivo Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$priority integer
$shortName string

Public Methods

Method Description
canEvaluate ( $context ) : boolean
evaluate ( FlowQuery $flowQuery, array $arguments ) : void

Protected Methods

Method Description
getNodesUntil ( array $parentNodes, Neos\ContentRepository\Domain\Model\NodeInterface $until ) : array
getParents ( Neos\ContentRepository\Domain\Model\NodeInterface $contextNode, Neos\ContentRepository\Domain\Model\NodeInterface $siteNode )

Method Details

canEvaluate() public method

public canEvaluate ( $context ) : boolean
return boolean TRUE if the operation can be applied onto the $context, FALSE otherwise

evaluate() public method

public evaluate ( FlowQuery $flowQuery, array $arguments ) : void
$flowQuery Neos\Eel\FlowQuery\FlowQuery the FlowQuery object
$arguments array the arguments for this operation
return void

getNodesUntil() protected method

protected getNodesUntil ( array $parentNodes, Neos\ContentRepository\Domain\Model\NodeInterface $until ) : array
$parentNodes array the parent nodes
$until Neos\ContentRepository\Domain\Model\NodeInterface
return array

getParents() protected method

protected getParents ( Neos\ContentRepository\Domain\Model\NodeInterface $contextNode, Neos\ContentRepository\Domain\Model\NodeInterface $siteNode )
$contextNode Neos\ContentRepository\Domain\Model\NodeInterface
$siteNode Neos\ContentRepository\Domain\Model\NodeInterface

Property Details

$priority protected_oe static_oe property

protected static int $priority
return integer

$shortName protected_oe static_oe property

protected static string $shortName
return string