ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
CollectionRepository.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
27 
34 {
35  public function has(ResourceCollectionIdentification $identification): bool;
36 
37  public function blank(ResourceCollectionIdentification $identification, ?int $owner = null): ResourceCollection;
38 
39  public function existing(ResourceCollectionIdentification $identification): ResourceCollection;
40 
41  public function clear(ResourceCollectionIdentification $identification): void;
42 
46  public function getResourceIdStrings(ResourceCollectionIdentification $identification): \Generator;
47 
48  public function update(ResourceCollection $collection): void;
49 
50  public function delete(ResourceCollectionIdentification $identification): void;
51 
52  public function removeResourceFromAllCollections(ResourceIdentification $resource_identification): void;
53 }
getResourceIdStrings(ResourceCollectionIdentification $identification)
clear(ResourceCollectionIdentification $identification)
existing(ResourceCollectionIdentification $identification)
blank(ResourceCollectionIdentification $identification, ?int $owner=null)
removeResourceFromAllCollections(ResourceIdentification $resource_identification)
has(ResourceCollectionIdentification $identification)