Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
LoadResultCollection.php
1
<?php
2
3
namespace
Bitrix\UI\FileUploader
;
4
5
class
LoadResultCollection
implements
\IteratorAggregate, \JsonSerializable
6
{
8
private
array $results = [];
9
10
public
function
add
(
LoadResult
$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\LoadResultCollection
Definition
LoadResultCollection.php:6
Bitrix\UI\FileUploader\LoadResultCollection\getIterator
getIterator()
Definition
LoadResultCollection.php:26
Bitrix\UI\FileUploader\LoadResultCollection\add
add(LoadResult $result)
Definition
LoadResultCollection.php:10
Bitrix\UI\FileUploader\LoadResultCollection\getAll
getAll()
Definition
LoadResultCollection.php:18
Bitrix\UI\FileUploader\LoadResultCollection\jsonSerialize
jsonSerialize()
Definition
LoadResultCollection.php:31
Bitrix\UI\FileUploader\LoadResult
Definition
LoadResult.php:6
Bitrix\UI\FileUploader
Definition
CanUploadResult.php:3
modules
ui
lib
FileUploader
LoadResultCollection.php
Создано системой
1.10.0