1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
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
Определения
UserAvatar.php:8
Bitrix\Im\V2\Message\Param\UserAvatar\toPullFormat
toPullFormat()
Определения
UserAvatar.php:25
Bitrix\Im\V2\Message\Param\UserAvatar\getValue
getValue()
Определения
UserAvatar.php:12
Bitrix\Im\V2\Chat\Param
bitrix
modules
im
lib
V2
Message
Param
UserAvatar.php
Создано системой
1.14.0