Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
RemoveResultCollection.php
1
<?php
2
3
namespace
Bitrix\UI\FileUploader
;
4
5
class
RemoveResultCollection
implements
\IteratorAggregate, \JsonSerializable
6
{
8
private
array $results = [];
9
10
public
function
add
(
RemoveResult
$result): void
11
{
12
$this->results[] = $result;
13
}
14
18
public
function
getAll
(): array
19
{
20
return
$this->results;
21
}
22
26
public
function
getIterator
(): \ArrayIterator
27
{
28
return
new \ArrayIterator($this->results);
29
}
30
31
public
function
jsonSerialize
(): array
32
{
33
return
$this->
getAll
();
34
}
35
}
Bitrix\UI\FileUploader\RemoveResultCollection
Definition
RemoveResultCollection.php:6
Bitrix\UI\FileUploader\RemoveResultCollection\add
add(RemoveResult $result)
Definition
RemoveResultCollection.php:10
Bitrix\UI\FileUploader\RemoveResultCollection\getIterator
getIterator()
Definition
RemoveResultCollection.php:26
Bitrix\UI\FileUploader\RemoveResultCollection\getAll
getAll()
Definition
RemoveResultCollection.php:18
Bitrix\UI\FileUploader\RemoveResultCollection\jsonSerialize
jsonSerialize()
Definition
RemoveResultCollection.php:31
Bitrix\UI\FileUploader\RemoveResult
Definition
RemoveResult.php:6
Bitrix\UI\FileUploader
Definition
CanUploadResult.php:3
modules
ui
lib
FileUploader
RemoveResultCollection.php
Создано системой
1.10.0