ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Class Collections. More...
Public Member Functions | |
__construct (private ResourceBuilder $resource_builder, private CollectionBuilder $collection_builder, private RepositoryPreloader $preloader, private Subject $events) | |
Consumers constructor. More... | |
id (?string $collection_identification=null, ?int $owner=null) | |
exists (string $collection_identification) | |
idOrNull (?string $collection_identification=null, ?int $owner=null) | |
get (ResourceCollectionIdentification $identification, ?int $owner=null) | |
store (ResourceCollection $collection) | |
clone (ResourceCollectionIdentification $source_collection_id) | |
remove (ResourceCollectionIdentification $collection_id, ResourceStakeholder $stakeholder, bool $delete_resources_as_well=false) | |
rangeAsArray (ResourceCollection $collection, int $from, int $amout) | |
rangeAsGenerator (ResourceCollection $collection, int $from, int $to) | |
sort (ResourceCollection $collection) | |
Private Attributes | |
array | $cache = [] |
array | $rid_cache = [] |
Class Collections.
Definition at line 37 of file Collections.php.
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections::__construct | ( | private ResourceBuilder | $resource_builder, |
private CollectionBuilder | $collection_builder, | ||
private RepositoryPreloader | $preloader, | ||
private Subject | $events | ||
) |
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections::clone | ( | ResourceCollectionIdentification | $source_collection_id | ) |
Definition at line 126 of file Collections.php.
References ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections\id(), and ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections\store().
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections::exists | ( | string | $collection_identification | ) |
Definition at line 71 of file Collections.php.
Referenced by ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections\idOrNull().
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections::get | ( | ResourceCollectionIdentification | $identification, |
?int | $owner = null |
||
) |
Definition at line 86 of file Collections.php.
References ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection\getResourceIdentifications().
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections::id | ( | ?string | $collection_identification = null , |
?int | $owner = null |
||
) |
string | null | $collection_identification | an existing collection identification or null for a new |
int | null | $owner | if this colletion is owned by a users, you must prvide it's owner ID |
Definition at line 53 of file Collections.php.
References null.
Referenced by ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections\clone(), and ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections\idOrNull().
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections::idOrNull | ( | ?string | $collection_identification = null , |
?int | $owner = null |
||
) |
Definition at line 76 of file Collections.php.
References ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections\exists(), ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections\id(), and null.
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections::rangeAsArray | ( | ResourceCollection | $collection, |
int | $from, | ||
int | $amout | ||
) |
Definition at line 162 of file Collections.php.
References ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection\getResourceIdentifications().
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections::rangeAsGenerator | ( | ResourceCollection | $collection, |
int | $from, | ||
int | $to | ||
) |
Definition at line 176 of file Collections.php.
References ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection\getResourceIdentifications().
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections::remove | ( | ResourceCollectionIdentification | $collection_id, |
ResourceStakeholder | $stakeholder, | ||
bool | $delete_resources_as_well = false |
||
) |
Definition at line 142 of file Collections.php.
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections::sort | ( | ResourceCollection | $collection | ) |
Definition at line 185 of file Collections.php.
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections::store | ( | ResourceCollection | $collection | ) |
Definition at line 119 of file Collections.php.
References ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection\getIdentification().
Referenced by ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections\clone().
|
private |
Definition at line 39 of file Collections.php.
|
private |
Definition at line 40 of file Collections.php.