Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
DefaultOwner.php
1
<?php
2
namespace
Bitrix\UI\Avatar\Mask\Owner
;
3
4
use
Bitrix\Main
;
5
use Bitrix\UI\Avatar;
6
7
abstract
class
DefaultOwner
8
{
9
abstract
public
function
getId
();
10
11
abstract
public
function
getDefaultAccess
(): array;
12
13
public
function
delete
(): Main\
Entity
\
DeleteResult
14
{
15
return
Avatar\Mask\Item::deleteByFilter([
16
'=OWNER_TYPE'
=> static::class,
17
'=OWNER_ID'
=> $this->
getId
()
18
]);
19
}
20
}
Bitrix\Main\ORM\Data\DeleteResult
Definition
deleteresult.php:12
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\UI\Avatar\Mask\Owner\DefaultOwner
Definition
DefaultOwner.php:8
Bitrix\UI\Avatar\Mask\Owner\DefaultOwner\getId
getId()
Bitrix\UI\Avatar\Mask\Owner\DefaultOwner\getDefaultAccess
getDefaultAccess()
Bitrix\Main
Bitrix\UI\Avatar\Mask\Owner
Definition
DefaultOwner.php:2
modules
ui
lib
Avatar
Mask
Owner
DefaultOwner.php
Создано системой
1.10.0