• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/bizprocdocument.php
  • Класс: BitrixDiskBizProcDocument
  • Вызов: BizProcDocument::getDocumentTypeName
static function getDocumentTypeName($documentType)
{
	$storageId = self::getStorageIdByType($documentType);
	if ($storageId)
	{
		$storage = Storage::getById($storageId);
		if($storage)
		{
			return '['.$storage->getSiteId().'] '.$storage->getName();
		}
	}

	return $documentType;
}