Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
FileOwnership.php
1
<?php
2
3
namespace
Bitrix\UI\FileUploader
;
4
5
class
FileOwnership
6
{
7
private
int
$id;
8
private
bool
$own =
false
;
9
10
public
function
__construct
(
int
$id)
11
{
12
$this->
id
= $id;
13
}
14
15
public
function
getId
(): int
16
{
17
return
$this->id;
18
}
19
20
public
function
isOwn
(): bool
21
{
22
return
$this->own;
23
}
24
25
public
function
markAsOwn
(
bool
$flag =
true
): void
26
{
27
$this->own = $flag;
28
}
29
}
Bitrix\UI\FileUploader\FileOwnership
Definition
FileOwnership.php:6
Bitrix\UI\FileUploader\FileOwnership\getId
getId()
Definition
FileOwnership.php:15
Bitrix\UI\FileUploader\FileOwnership\__construct
__construct(int $id)
Definition
FileOwnership.php:10
Bitrix\UI\FileUploader\FileOwnership\markAsOwn
markAsOwn(bool $flag=true)
Definition
FileOwnership.php:25
Bitrix\UI\FileUploader\FileOwnership\isOwn
isOwn()
Definition
FileOwnership.php:20
Bitrix\UI\FileUploader
Definition
CanUploadResult.php:3
modules
ui
lib
FileUploader
FileOwnership.php
Создано системой
1.10.0