• Модуль: mobile
  • Путь к файлу: ~/bitrix/modules/mobile/lib/controller/currency/format.php
  • Класс: BitrixMobileControllerCurrencyFormat
  • Вызов: Format::listAction
public function listAction(): array
{
	$result = [];
	$rows = CurrencyTable::getList([
		'select' => ['CURRENCY'],
		'order' => ['SORT' => 'ASC', 'CURRENCY' => 'ASC'],
		'limit' => 100,
	]);
	while ($row = $rows->fetch())
	{
		$currencyId = $row['CURRENCY'];
		$result[$currencyId] = CCurrencyLang::GetFormatDescription($currencyId);
	}
	return $result;
}