Provider::fillCounters

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. Provider
  4. fillCounters
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/project/provider.php
  • Класс: BitrixTasksInternalsProjectProvider
  • Вызов: Provider::fillCounters
public function fillCounters(array $projects): array
{
	$projectCounter = $this->isScrum ? new ScrumCounter($this->userId) : new ProjectCounter($this->userId);

	foreach (array_keys($projects) as $projectId)
	{
		$projects[$projectId]['COUNTER'] = $projectCounter->getRowCounter($projectId);
	}

	return $projects;
}

Добавить комментарий