PHP Class Neos\Neos\Eel\FlowQueryOperations\SortOperation

Sorts nodes by specified node properties.
Inheritance: extends Neos\Eel\FlowQuery\Operations\AbstractOperation
Afficher le fichier Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

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

Méthodes publiques

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

Method Details

canEvaluate() public méthode

We can only handle ContentRepository Nodes.
public canEvaluate ( mixed $context ) : boolean
$context mixed
Résultat boolean

evaluate() public méthode

First argument is the node property to sort by. Works with internal arguments (_xyz) as well. Second argument is the sort direction (ASC or DESC).
public evaluate ( FlowQuery $flowQuery, array $arguments ) : mixed
$flowQuery Neos\Eel\FlowQuery\FlowQuery the FlowQuery object
$arguments array the arguments for this operation.
Résultat mixed

Property Details

$shortName protected_oe static_oe property

protected static string $shortName
Résultat string