• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/integration/disk/rest/attachment.php
  • Класс: BitrixTasksIntegrationDiskRestAttachment
  • Вызов: Attachment::getValue
static function getValue($ownerId, $entityId, $fieldName)
{
	global $USER_FIELD_MANAGER;

	$currentValue = $USER_FIELD_MANAGER->GetUserFieldValue($entityId, $fieldName, $ownerId);
	if(!is_array($currentValue))
	{
		$currentValue = array();
	}

	return $currentValue;
}