Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
UserShortPopupItem.php
1
<?php
2
3
namespace
Bitrix\Im\V2\Entity\User
;
4
5
class
UserShortPopupItem
extends
UserPopupItem
6
{
7
public
function
toRestFormat
(array $option = []): array
8
{
9
$option[
'USER_SHORT_FORMAT'
] =
true
;
10
11
return
parent::toRestFormat($option);
12
}
13
14
public
static
function
getRestEntityName
(): string
15
{
16
return
'usersShort'
;
17
}
18
}
Bitrix\Im\V2\Entity\User\UserPopupItem
Definition
UserPopupItem.php:8
Bitrix\Im\V2\Entity\User\UserShortPopupItem
Definition
UserShortPopupItem.php:6
Bitrix\Im\V2\Entity\User\UserShortPopupItem\getRestEntityName
static getRestEntityName()
Definition
UserShortPopupItem.php:14
Bitrix\Im\V2\Entity\User\UserShortPopupItem\toRestFormat
toRestFormat(array $option=[])
Definition
UserShortPopupItem.php:7
Bitrix\Im\V2\Entity\User
modules
im
lib
V2
Entity
User
UserShortPopupItem.php
Создано системой
1.10.0