Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
efficiency.php
1<?php
2
4
6use Bitrix\Tasks\Internals\Effective;
7
9{
10 public static function fillEfficiency(array $params = []): array
11 {
12 $result = [];
13
14 if (
15 !isset($params['groupIdList'])
16 || !is_array($params['groupIdList'])
17 || !Loader::includeModule('tasks')
18 )
19 {
20 return $result;
21 }
22
23 $result = Effective::getAverageEfficiencyForGroups(
24 null,
25 null,
26 0,
27 $params['groupIdList']
28 );
29
30 return $result;
31 }
32}