Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
RemoveResult.php
1
<?php
2
3
namespace
Bitrix\UI\FileUploader
;
4
5
class
RemoveResult
extends
\Bitrix\Main\Result
implements \JsonSerializable
6
{
8
protected
$id
;
9
10
public
function
__construct
(
$id
)
11
{
12
$this->
id
=
$id
;
13
14
parent::__construct();
15
}
16
17
public
function
getId
()
18
{
19
return
$this->id
;
20
}
21
22
public
function
jsonSerialize
(): array
23
{
24
return
[
25
'id'
=> $this->
getId
(),
26
'errors'
=> $this->
getErrors
(),
27
'success'
=> $this->
isSuccess
(),
28
];
29
}
30
}
Bitrix\Main\ORM\Data\Result
Definition
result.php:16
Bitrix\Main\ORM\Data\Result\getErrors
getErrors()
Definition
result.php:67
Bitrix\Main\Result\isSuccess
isSuccess()
Definition
result.php:39
Bitrix\UI\FileUploader\RemoveResult
Definition
RemoveResult.php:6
Bitrix\UI\FileUploader\RemoveResult\getId
getId()
Definition
RemoveResult.php:17
Bitrix\UI\FileUploader\RemoveResult\__construct
__construct($id)
Definition
RemoveResult.php:10
Bitrix\UI\FileUploader\RemoveResult\jsonSerialize
jsonSerialize()
Definition
RemoveResult.php:22
Bitrix\UI\FileUploader\RemoveResult\$id
$id
Definition
RemoveResult.php:8
Bitrix\UI\FileUploader
Definition
CanUploadResult.php:3
modules
ui
lib
FileUploader
RemoveResult.php
Создано системой
1.10.0