Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
User.php
1
<?php
2
namespace
Bitrix\UI\Avatar\Mask\Owner
;
3
4
use Bitrix\UI\Avatar;
5
use
Bitrix\Main
;
6
7
class
User
extends
DefaultOwner
8
{
9
protected
int
$id
;
10
11
public
function
__construct
(
int
$id
)
12
{
13
$this->
id
=
$id
;
14
}
15
16
public
function
getId
()
17
{
18
return
$this->id
;
19
}
20
21
public
function
getDefaultAccess
(): array
22
{
23
return
[
'U'
.
$this->id
];
24
}
25
}
Bitrix\UI\Avatar\Mask\Owner\DefaultOwner
Definition
DefaultOwner.php:8
Bitrix\UI\Avatar\Mask\Owner\User
Definition
User.php:8
Bitrix\UI\Avatar\Mask\Owner\User\getId
getId()
Definition
User.php:16
Bitrix\UI\Avatar\Mask\Owner\User\$id
int $id
Definition
User.php:9
Bitrix\UI\Avatar\Mask\Owner\User\__construct
__construct(int $id)
Definition
User.php:11
Bitrix\UI\Avatar\Mask\Owner\User\getDefaultAccess
getDefaultAccess()
Definition
User.php:21
Bitrix\Main
Bitrix\UI\Avatar\Mask\Owner
Definition
DefaultOwner.php:2
modules
ui
lib
Avatar
Mask
Owner
User.php
Создано системой
1.10.0