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
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$priority integer
$shortName string

Méthodes publiques

Méthode Description
canEvaluate ( $context ) : boolean
evaluate ( FlowQuery $flowQuery, array $arguments ) : void

Méthodes protégées

Méthode 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 méthode

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

evaluate() public méthode

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

getNodesUntil() protected méthode

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

getParents() protected méthode

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
Résultat integer

$shortName protected_oe static_oe property

protected static string $shortName
Résultat string