Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
UserAvatar.php
1
<?php
2
3
namespace
Bitrix\Im\V2\Message\Param
;
4
5
use
Bitrix\Im\V2\Message\Param
;
6
7
class
UserAvatar
extends
Param
8
{
12
public
function
getValue
(): string
13
{
14
if
((
int
)$this->value > 0)
15
{
16
return \CIMChat::getAvatarImage((
int
)$this->value, 200,
false
);
17
}
18
19
return
''
;
20
}
21
25
public
function
toPullFormat
(): string
26
{
27
return
$this->
getValue
();
28
}
29
}
Bitrix\Im\V2\Message\Param\UserAvatar
Definition
UserAvatar.php:8
Bitrix\Im\V2\Message\Param\UserAvatar\toPullFormat
toPullFormat()
Definition
UserAvatar.php:25
Bitrix\Im\V2\Message\Param\UserAvatar\getValue
getValue()
Definition
UserAvatar.php:12
Bitrix\Im\V2\Message\Param
Definition
Param.php:19
Bitrix\Im\V2\Message\Param
Definition
Attach.php:3
modules
im
lib
V2
Message
Param
UserAvatar.php
Создано системой
1.10.0