Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Neos
Neos
Eel
FlowQueryOperations
SortOperation
PHP Class Neos\Neos\Eel\FlowQueryOperations\SortOperation
Sorts nodes by specified node properties.
Inheritance:
extends
Neos\Eel\FlowQuery\Operations\AbstractOperation
Show file
Open project: neos/neos-development-collection
Class Usage Examples
Protected Properties
Property
Type
Description
$shortName
string
Public Methods
Method
Description
canEvaluate
(
mixed
$context
) :
boolean
evaluate
(
FlowQuery
$flowQuery
,
array
$arguments
) :
mixed
Method Details
canEvaluate()
public
method
We can only handle ContentRepository Nodes.
public
canEvaluate
(
mixed
$context
) :
boolean
$context
mixed
return
boolean
evaluate()
public
method
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.
return
mixed
Property Details
$shortName
protected static property
protected
static
string
$shortName
return
string