CCrmLeadWS::GetCurrencyList

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmLeadWS
  4. GetCurrencyList
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/ws_lead.php
  • Класс: \CCrmLeadWS
  • Вызов: CCrmLeadWS::GetCurrencyList
static function GetCurrencyList()
{
	$ar = CCrmCurrencyHelper::PrepareListItems();
	$CXMLCreatorR = new CXMLCreator('CHOISES');

	foreach ($ar as $key => $value)
	{
		$CXMLCreator = new CXMLCreator('CHOISE', true);
		$CXMLCreator->setAttribute('id', $key);
		$CXMLCreator->setData($value);
		$CXMLCreatorR->addChild($CXMLCreator);
	}

	return $CXMLCreatorR;
}

Добавить комментарий