PHP 클래스 Neos\Neos\Eel\FlowQueryOperations\SortOperation

Sorts nodes by specified node properties.
상속: extends Neos\Eel\FlowQuery\Operations\AbstractOperation
파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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