Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
user.php
1<?
3
4class User extends Base
5{
6 public function getListAction($filterId, $componentName, $signedParameters)
7 {
8 $filterId = trim($filterId);
9 $unsignedParameters = \Bitrix\Main\Component\ParameterSigner::unsignParameters($componentName, $signedParameters);
10
11 return $this->getList(\Bitrix\Main\UserTable::getUfId(), [
12 'ID' => $filterId != '' ? $filterId : 'INTRANET_USER_LIST',
13 'WHITE_LIST' => ($unsignedParameters['USER_PROPERTY_LIST'] ?? [])
14 ]);
15 }
16
17 public function getFieldAction($filterId, $id, $componentName, $signedParameters)
18 {
19 $unsignedParameters = \Bitrix\Main\Component\ParameterSigner::unsignParameters($componentName, $signedParameters);
20
21 $filterId = trim($filterId);
22 $id = trim($id);
23
24 return $this->getField(\Bitrix\Main\UserTable::getUfId(), [
25 'ID' => $filterId != '' ? $filterId : 'INTRANET_USER_LIST',
26 'WHITE_LIST' => ($unsignedParameters['USER_PROPERTY_LIST'] ?? [])
27 ], $id);
28 }
29}
30
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)
Definition user.php:6
getFieldAction($filterId, $id, $componentName, $signedParameters)
Definition user.php:17
static getUfId()
Definition user.php:52