ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
CollectionRepository.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
28 
34 interface CollectionRepository extends LockingRepository
35 {
36  public function has(ResourceCollectionIdentification $identification): bool;
37 
38  public function blank(ResourceCollectionIdentification $identification, ?int $owner = null): ResourceCollection;
39 
40  public function existing(ResourceCollectionIdentification $identification): ResourceCollection;
41 
42  public function clear(ResourceCollectionIdentification $identification): void;
43 
47  public function getResourceIdStrings(ResourceCollectionIdentification $identification): \Generator;
48 
49  public function update(ResourceCollection $collection, DataContainer $event_data_container): void;
50 
51  public function delete(ResourceCollectionIdentification $identification): void;
52 
53  public function removeResourceFromAllCollections(ResourceIdentification $resource_identification): void;
54 }
removeResourceFromAllCollections(ResourceIdentification $resource_identification)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
blank(ResourceCollectionIdentification $identification, ?int $owner=null)
update(ResourceCollection $collection, DataContainer $event_data_container)