• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/classes/general/prop_element_list.php
  • Класс: CIBlockPropertyElementList
  • Вызов: CIBlockPropertyElementList::GetPropertyFieldHtml
static function GetPropertyFieldHtml($arProperty, $value, $strHTMLControlName)
{
	$settings = CIBlockPropertyElementList::PrepareSettings($arProperty);
	if($settings["size"] > 1)
		$size = ' size="'.$settings["size"].'"';
	else
		$size = '';

	if($settings["width"] > 0)
		$width = ' style="width:'.$settings["width"].'px"';
	else
		$width = '';

	$bWasSelect = false;
	$options = CIBlockPropertyElementList::GetOptionsHtml($arProperty, array($value["VALUE"]), $bWasSelect);

	$html = '';

	return  $html;
}