Documentation

getOrder

\Bitrix\Landing\Source\DataLoader::getOrder(
)

Service method for getting settings for dynamic block. Returns settings for sorting. Use it for list of elements only.

Parameters

No parameters

Returned value

Returns an array type:

      'by' => 'SORT_FIELD_NAME',
      'order' => 'direction' (asc/desc)

See \Bitrix\Landing\Source\DataLoader::setConfig



© «Bitrix24», 2001-2024
Up