• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/internals/input.php
  • Класс: BitrixSaleInternalsInputAddress
  • Вызов: Address::getViewHtml
static function getViewHtml(array $input, $value = null)
{
	if (!is_array($value) || !Loader::includeModule('location'))
	{
		return '';
	}

	$address = BitrixLocationEntityAddress::fromArray($value);

	return $address->toString(
		FormatService::getInstance()->findDefault(LANGUAGE_ID)
	);
}