• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/bizproctype/usertypepropertyhtml.php
  • Класс: BitrixIblockBizprocTypeUserTypePropertyHtml
  • Вызов: UserTypePropertyHtml::renderControl
static function renderControl(FieldType $fieldType, array $field, $value, $allowSelection, $renderMode)
	{
		$name = static::generateControlName($field);
		$controlId = static::generateControlId($field);

		if (is_array($value) && isset($value['VALUE']))
			$value = $value['VALUE'];
		if (is_array($value) && isset($value['TEXT']))
			$value = $value['TEXT'];

		return CBPViewHelper::getHtmlEditor($controlId, $name, $value);
	}