Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
usertogroup.php
1
<?php
2
3
namespace
Bitrix\Socialnetwork\Controller\Filter
;
4
5
class
UserToGroup
extends
\Bitrix\Main\Controller\Filter\Base
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
Bitrix\Main\Controller\Filter\Base
Definition
base.php:9
Bitrix\Main\Controller\Filter\Base\getList
getList($entityTypeId, array $filterSettingsParams, ?array $additionalParams=null)
Definition
base.php:10
Bitrix\Main\Controller\Filter\Base\getField
getField($entityTypeId, array $filterSettingsParams, $id, ?array $additionalParams=null)
Definition
base.php:29
Bitrix\Socialnetwork\Controller\Filter\UserToGroup
Definition
usertogroup.php:6
Bitrix\Socialnetwork\Controller\Filter\UserToGroup\getListAction
getListAction($filterId, $componentName, $signedParameters)
Definition
usertogroup.php:7
Bitrix\Socialnetwork\Controller\Filter\UserToGroup\getFieldAction
getFieldAction($filterId, $id, $componentName, $signedParameters)
Definition
usertogroup.php:17
Bitrix\Socialnetwork\UserToGroupTable\getUfId
static getUfId()
Definition
usertogroup.php:53
Bitrix\Socialnetwork\Controller\Filter
Definition
usertogroup.php:3
Bitrix
modules
socialnetwork
lib
controller
filter
usertogroup.php
Создано системой
1.10.0