PHP Class Neos\ContentRepository\Eel\FlowQueryOperations\PrevOperation

If an optional filter expression is provided, it only returns the node if it matches the given expression.
Inheritance: extends Neos\Eel\FlowQuery\Operations\AbstractOperation
Datei anzeigen Open project: neos/neos-development-collection Class Usage Examples

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
getPrevForNode ( Neos\ContentRepository\Domain\Model\NodeInterface $contextNode ) : Neos\ContentRepository\Domain\Model\NodeInterface

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

getPrevForNode() protected method

protected getPrevForNode ( Neos\ContentRepository\Domain\Model\NodeInterface $contextNode ) : Neos\ContentRepository\Domain\Model\NodeInterface
$contextNode Neos\ContentRepository\Domain\Model\NodeInterface The node for which the preceding node should be found
return Neos\ContentRepository\Domain\Model\NodeInterface The preceding node 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