• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/delivery/inputs.php
  • Класс: BitrixSaleDeliveryInputsButtonSelector
  • Вызов: ButtonSelector::getViewHtmlSingle
static function getViewHtmlSingle(array $input, $values)
{
	if(!is_array($values))
		throw new ArgumentTypeException('values', 'array');

	$itemName = ($values['NAME'] <> '' ? htmlspecialcharsbx($values['NAME']) : '');

	if($itemName == '' && $input['NAME_DEFAULT'] <> '')
	{
		$itemName = htmlspecialcharsbx($input['NAME_DEFAULT']);
	}

	return $itemName;
}