Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
usertogroup.php
1<?php
2
4
6{
7 public function getListAction($filterId, $componentName, $signedParameters)
8 {
9 $filterId = trim($filterId);
10 $unsignedParameters = \Bitrix\Main\Component\ParameterSigner::unsignParameters($componentName, $signedParameters);
11
12 return $this->getList(\Bitrix\Socialnetwork\UserToGroupTable::getUfId(), [
13 'ID' => $filterId !== '' ? $filterId : 'SOCIALNETWORK_WORKGROUP_USER_LIST',
14 ]);
15 }
16
17 public function getFieldAction($filterId, $id, $componentName, $signedParameters)
18 {
19 $filterId = trim($filterId);
20 $id = trim($id);
21 $unsignedParameters = \Bitrix\Main\Component\ParameterSigner::unsignParameters($componentName, $signedParameters);
22
23 return $this->getField(\Bitrix\Socialnetwork\UserToGroupTable::getUfId(), [
24 'ID' => $filterId !== '' ? $filterId : 'SOCIALNETWORK_WORKGROUP_USER_LIST',
25 ], $id);
26 }
27}
28
getList($entityTypeId, array $filterSettingsParams, ?array $additionalParams=null)
Definition base.php:10
getField($entityTypeId, array $filterSettingsParams, $id, ?array $additionalParams=null)
Definition base.php:29
getListAction($filterId, $componentName, $signedParameters)
getFieldAction($filterId, $id, $componentName, $signedParameters)