...Человеческий поиск в разработке...
- Модуль: tasks
- Путь к файлу: ~/bitrix/modules/tasks/lib/internals/project/provider.php
- Класс: BitrixTasksInternalsProjectProvider
- Вызов: Provider::fillTabsData
public function fillTabsData(array $projects): array { if (!empty($projects)) { $projectIds = array_keys($projects); $additionalData = Workgroup::getAdditionalData([ 'ids' => $projectIds, 'features' => Helper::getMobileFeatures(), 'mandatoryFeatures' => Helper::getMobileMandatoryFeatures(), 'currentUserId' => $this->userId, ]); foreach ($projectIds as $id) { if (!isset($additionalData[$id])) { continue; } $projects[$id]['ADDITIONAL_DATA'] = ($additionalData[$id] ?? []); } } return $projects; }