• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/bizproctype/usertypepropertyhtml.php
  • Класс: BitrixIblockBizprocTypeUserTypePropertyHtml
  • Вызов: UserTypePropertyHtml::externalizeValue
static function externalizeValue(FieldType $fieldType, $context, $value)
	{
		if (is_array($value) && isset($value['TEXT']) && !is_scalar($value['TEXT']))
		{
			return is_object($value['TEXT']) && method_exists($value['TEXT'], '__toString')
				? (string)$value['TEXT']
				: ''
			;
		}

		return parent::externalizeValue($fieldType, $context, $value);
	}