Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
efficiency.php
1
<?php
2
3
namespace
Bitrix\Socialnetwork\Component\WorkgroupList
;
4
5
use
Bitrix\Main\Loader
;
6
use Bitrix\Tasks\Internals\Effective;
7
8
class
Efficiency
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
}
Bitrix\Main\Loader
Definition
loader.php:12
Bitrix\Socialnetwork\Component\WorkgroupList\Efficiency
Definition
efficiency.php:9
Bitrix\Socialnetwork\Component\WorkgroupList\Efficiency\fillEfficiency
static fillEfficiency(array $params=[])
Definition
efficiency.php:10
Bitrix\Socialnetwork\Component\WorkgroupList
Definition
counter.php:3
modules
socialnetwork
lib
component
workgrouplist
efficiency.php
Создано системой
1.10.0