• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/compatible/internals/entitycompatibility.php
  • Класс: BitrixSaleCompatibleInternalsEntityCompatibility
  • Вызов: EntityCompatibility::setSort
public function setSort(array $sort = array())
{
	foreach($sort as $fieldName => $fieldValue)
	{
		$fieldName = mb_strtoupper($fieldName);
		if ($propKey = $this->parseField($fieldName))
		{
			$this->sort[$propKey] = $fieldValue;
		}
		else
		{
			$this->sort[$fieldName] = $fieldValue;
		}
	}
}