• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/classes/general/prop_element_auto.php
  • Класс: CIBlockPropertyElementAutoComplete
  • Вызов: CIBlockPropertyElementAutoComplete::GetSymbols
static function GetSymbols($arSettings)
{
	$strBanSym = $arSettings['BAN_SYM'] ?? '';
	$repSym = $arSettings['REP_SYM'] ?? '';
	$otherRepSym = $arSettings['OTHER_REP_SYM'] ?? '';
	$strRepSym = (BT_UT_AUTOCOMPLETE_REP_SYM_OTHER == $repSym ? $otherRepSym : $repSym);
	$arBanSym = str_split($strBanSym,1);
	$arResult = array(
		'BAN_SYM' => $arBanSym,
		'REP_SYM' => array_fill(0,sizeof($arBanSym),$strRepSym),
		'BAN_SYM_STRING' => $strBanSym,
		'REP_SYM_STRING' => $strRepSym,
	);
	return $arResult;
}