• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/classes/general/prop_seq.php
  • Класс: CIBlockPropertySequence
  • Вызов: CIBlockPropertySequence::GetPropertyFieldHtml
static function GetPropertyFieldHtml($arProperty, $value, $strHTMLControlName)
{
	if($value["VALUE"] > 0 && !$strHTMLControlName["COPY"])
	{
		$current_value = intval($value["VALUE"]);
	}
	else
	{
		$seq = new CIBlockSequence($arProperty["IBLOCK_ID"], $arProperty["ID"]);
		$current_value = $seq->GetNext();
	}

	$fieldName = $strHTMLControlName['VALUE'] ?? '';
	if (($arProperty['USER_TYPE_SETTINGS']['write'] ?? 'N') === 'Y')
	{
		return '';
	}
	else
	{
		return
			''
			. ''
		;
	}
}