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