• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/classes/general/prop_element_auto.php
  • Класс: CIBlockPropertyElementAutoComplete
  • Вызов: CIBlockPropertyElementAutoComplete::GetValueForAutoComplete
static function GetValueForAutoComplete($arProperty, $arValue, $arBanSym = '', $arRepSym = '')
{
	$strResult = '';
	$mxResult = static::GetPropertyValue($arProperty,$arValue);
	if (is_array($mxResult))
	{
		$strResult = htmlspecialcharsbx(str_replace($arBanSym,$arRepSym,$mxResult['~NAME'])).' ['.$mxResult['ID'].']';
	}

	return $strResult;
}