• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/lib/bizproctype/ecrm.php
  • Класс: BitrixIblockBizprocTypeECrm
  • Вызов: ECrm::formatValuePrintable
static function formatValuePrintable(FieldType $fieldType, $value)
	{
		$property = static::getUserType($fieldType);
		$property['IBLOCK_ID'] = self::getIblockId($fieldType);
		if(empty($property['USER_TYPE_SETTINGS']))
			$property['USER_TYPE_SETTINGS'] = $fieldType->getOptions();

		if (array_key_exists('GetValuePrintable', $property))
		{
			return call_user_func_array($property['GetValuePrintable'], array($property, $value, self::$formatSeparator));
		}
		else
		{
			return '';
		}
	}