Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
FileOwnershipCollection.php
1
<?php
2
3
namespace
Bitrix\UI\FileUploader
;
4
5
class
FileOwnershipCollection
implements
\IteratorAggregate
6
{
8
private
array $items = [];
9
10
public
function
__construct
(array $ids)
11
{
12
foreach
($ids as $id)
13
{
14
$this->items[] =
new
FileOwnership
($id);
15
}
16
}
17
21
public
function
getAll
(): array
22
{
23
return
$this->items;
24
}
25
26
public
function
count
(): int
27
{
28
return
count
($this->items);
29
}
30
34
public
function
getIterator
(): \ArrayIterator
35
{
36
return
new \ArrayIterator($this->items);
37
}
38
}
Bitrix\UI\FileUploader\FileOwnershipCollection
Definition
FileOwnershipCollection.php:6
Bitrix\UI\FileUploader\FileOwnershipCollection\getIterator
getIterator()
Definition
FileOwnershipCollection.php:34
Bitrix\UI\FileUploader\FileOwnershipCollection\__construct
__construct(array $ids)
Definition
FileOwnershipCollection.php:10
Bitrix\UI\FileUploader\FileOwnershipCollection\getAll
getAll()
Definition
FileOwnershipCollection.php:21
Bitrix\UI\FileUploader\FileOwnershipCollection\count
count()
Definition
FileOwnershipCollection.php:26
Bitrix\UI\FileUploader\FileOwnership
Definition
FileOwnership.php:6
Bitrix\UI\FileUploader
Definition
CanUploadResult.php:3
modules
ui
lib
FileUploader
FileOwnershipCollection.php
Создано системой
1.10.0