PHP Класс Neos\Neos\Eel\FlowQueryOperations\SortOperation

Sorts nodes by specified node properties.
Наследование: extends Neos\Eel\FlowQuery\Operations\AbstractOperation
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$shortName string

Открытые методы

Метод Описание
canEvaluate ( mixed $context ) : boolean
evaluate ( FlowQuery $flowQuery, array $arguments ) : mixed

Описание методов

canEvaluate() публичный Метод

We can only handle ContentRepository Nodes.
public canEvaluate ( mixed $context ) : boolean
$context mixed
Результат boolean

evaluate() публичный Метод

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.
Результат mixed

Описание свойств

$shortName защищенное статическое свойство

protected static string $shortName
Результат string