PHP Class Neos\ContentRepository\Eel\FlowQueryOperations\PrevUntilOperation

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
getNodesUntil ( array $prevNodes, Neos\ContentRepository\Domain\Model\NodeInterface $until ) : array
getPrevForNode ( Neos\ContentRepository\Domain\Model\NodeInterface $contextNode ) : array | null

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 $prevNodes, Neos\ContentRepository\Domain\Model\NodeInterface $until ) : array
$prevNodes array the remaining nodes
$until Neos\ContentRepository\Domain\Model\NodeInterface
return array

getPrevForNode() protected method

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

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