PHP Class Neos\ContentRepository\Eel\FlowQueryOperations\NextUntilOperation

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
ファイルを表示 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
getNextForNode ( Neos\ContentRepository\Domain\Model\NodeInterface $contextNode ) : array | null
getNodesUntil ( array $nextNodes, Neos\ContentRepository\Domain\Model\NodeInterface $until ) : array

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

getNextForNode() protected method

protected getNextForNode ( Neos\ContentRepository\Domain\Model\NodeInterface $contextNode ) : array | null
$contextNode Neos\ContentRepository\Domain\Model\NodeInterface The node for which the next nodes should be found
return array | null The following nodes of $contextNode or NULL

getNodesUntil() protected method

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

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