Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
workgrouprequestsoutsender.php
1<?php
2
11
14
16{
17 protected function getWorkgroupCounters($workgroupId): array
18 {
19 return [
20 Counter\CounterDictionary::COUNTER_WORKGROUP_REQUESTS_OUT => Counter\CounterController::getValue(Counter\CounterDictionary::COUNTER_WORKGROUP_REQUESTS_OUT, $workgroupId),
21 ];
22 }
23
24 protected function getRoleFilterValue($initiatePermsValue): array
25 {
26 switch ($initiatePermsValue)
27 {
29 $roleFilterValue = UserToGroupTable::getRolesMember();
30 break;
33 break;
34 default:
35 $roleFilterValue = [ UserToGroupTable::ROLE_OWNER ];
36 }
37
38 return $roleFilterValue;
39 }
40}