• Модуль: currency
  • Путь к файлу: ~/bitrix/modules/currency/lib/integration/iblockmoneyproperty.php
  • Класс: BitrixCurrencyIntegrationIblockMoneyProperty
  • Вызов: IblockMoneyProperty::getPropertyFieldHtml
static function getPropertyFieldHtml($property, $value, $controlSettings)
{
	$seed = (!empty($controlSettings['VALUE'])) ? $controlSettings['VALUE'] : 'IMPSeed';
	$randomGenerator = new RandomSequence($seed);
	$randString = mb_strtolower($randomGenerator->randString(6));

	$explode = (is_string($value['VALUE']) ? explode(self::SEPARATOR, $value['VALUE']) : []);
	$currentValue = (isset($explode[0]) && $explode[0] !== '' ? $explode[0] : '');
	$currentCurrency = ($explode[1] ?? '');

	$html = '';
	$html .= '';
	$listCurrency = self::getListCurrency();
	if($listCurrency)
	{
		if($property['MULTIPLE'] == 'Y')
			$html .= '';
		$html .= '';
		$html .= '';
		$html .= self::getJsHandlerSelector($randString, $listCurrency);
	}

	return  $html;
}