Ordering implements OrderingInterface

Determines the relative order of two rows in the result set by evaluating operand for each.

Internal

only to be used within Extbase, not part of TYPO3 Core API.

Table of Contents

Interfaces

OrderingInterface
Determines the relative order of two rows in the result set by evaluating operand for each.

Properties

$operand  : DynamicOperandInterface
$order  : string

Methods

__construct()  : mixed
Constructs the Ordering instance
getOperand()  : DynamicOperandInterface
The operand by which to order.
getOrder()  : string
Gets the order.

Properties

$order

protected string $order

One of \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_*

Methods

__construct()

Constructs the Ordering instance

public __construct(DynamicOperandInterface $operand[, string $order = QueryInterface::ORDER_ASCENDING ]) : mixed
Parameters
$operand : DynamicOperandInterface

The operand; non-null

$order : string = QueryInterface::ORDER_ASCENDING

One of \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_*

getOrder()

Gets the order.

public getOrder() : string
Return values
string

One of \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_*


        
On this page

Search results