Documentation

addOrder

\Bitrix\Main\Entity\Query public
\Bitrix\Main\Entity\Query::addOrder(
 string $definition,
 string $order = 'ASC'
);

This non-static method adds field to the list of fields for operator ORDER BY.

Parameters

ParameterDescriptionVersion
$definition
$order

Exception

Example



© «Bitrix24», 2001-2022
Up