ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Class ResourceCollection. More...
Public Member Functions | |
__construct (private ResourceCollectionIdentification $identification, private int $owner, string $title) | |
getIdentification () | |
hasSpecificOwner () | |
getOwner () | |
getTitle () | |
add (ResourceIdentification $identification) | |
remove (ResourceIdentification $identification) | |
isIn (ResourceIdentification $identification) | |
getResourceIdentifications () | |
count () | |
clear () | |
Data Fields | |
const | NO_SPECIFIC_OWNER = -1 |
Private Attributes | |
array | $resource_identifications = [] |
string | $title = 'default' |
Class ResourceCollection.
Definition at line 32 of file ResourceCollection.php.
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection::__construct | ( | private ResourceCollectionIdentification | $identification, |
private int | $owner, | ||
string | $title | ||
) |
Definition at line 41 of file ResourceCollection.php.
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection::add | ( | ResourceIdentification | $identification | ) |
Definition at line 65 of file ResourceCollection.php.
References ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection\isIn().
Referenced by ILIAS\Repository\IRSS\IRSSWrapper\addEntryOfZipResourceToCollection(), ILIAS\Repository\IRSS\IRSSWrapper\importFilesFromDirectoryToCollection(), ILIAS\Repository\IRSS\IRSSWrapper\importFilesFromLegacyUploadToCollection(), and ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Sorter\AbstractBaseSorter\sort().
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection::clear | ( | ) |
Definition at line 104 of file ResourceCollection.php.
Referenced by ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Sorter\AbstractBaseSorter\sort().
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection::count | ( | ) |
Definition at line 99 of file ResourceCollection.php.
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection::getIdentification | ( | ) |
Definition at line 45 of file ResourceCollection.php.
Referenced by ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections\store(), and ILIAS\ResourceStorage\Resource\Repository\CollectionDBRepository\update().
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection::getOwner | ( | ) |
Definition at line 55 of file ResourceCollection.php.
Referenced by ILIAS\ResourceStorage\Resource\Repository\CollectionDBRepository\update().
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection::getResourceIdentifications | ( | ) |
Definition at line 94 of file ResourceCollection.php.
References ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection\$resource_identifications.
Referenced by ILIAS\Export\ExportHandler\Repository\Element\Wrapper\IRSS\Handler\addResourceCollectionToContaierByCollection(), ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections\get(), ILIAS\Repository\IRSS\IRSSWrapper\getCollectionResourcesInfo(), ILIAS\ResourceStorage\Resource\CollectionSortingTest\getFlatOrder(), ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections\rangeAsArray(), ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Collections\rangeAsGenerator(), ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\Sorter\AbstractBaseSorter\sort(), and ILIAS\ResourceStorage\Resource\Repository\CollectionDBRepository\update().
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection::getTitle | ( | ) |
Definition at line 60 of file ResourceCollection.php.
References ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection\$title.
Referenced by ILIAS\ResourceStorage\Resource\Repository\CollectionDBRepository\update().
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection::hasSpecificOwner | ( | ) |
Definition at line 50 of file ResourceCollection.php.
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection::isIn | ( | ResourceIdentification | $identification | ) |
Definition at line 81 of file ResourceCollection.php.
References ILIAS\ResourceStorage\Identification\AbstractIdentification\serialize().
Referenced by ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection\add().
ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection::remove | ( | ResourceIdentification | $identification | ) |
Definition at line 73 of file ResourceCollection.php.
References ILIAS\ResourceStorage\Identification\AbstractIdentification\serialize().
|
private |
Definition at line 35 of file ResourceCollection.php.
Referenced by ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection\getResourceIdentifications().
|
private |
Definition at line 39 of file ResourceCollection.php.
Referenced by ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection\getTitle().
const ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\ResourceCollection::NO_SPECIFIC_OWNER = -1 |
Definition at line 34 of file ResourceCollection.php.
Referenced by ILIAS\ResourceStorage\Resource\Repository\CollectionDBRepository\blank(), ILIAS\ResourceStorage\Resource\Repository\CollectionDBRepository\existing(), ILIAS\Export\ImportHandler\Parser\NodeInfo\Collection\CollectionBuilder\new(), ILIAS\ResourceStorage\Resource\CollectionSortingTest\setUp(), ILIAS\ResourceStorage\Resource\CollectionTest\testAddAndRemove(), and ILIAS\ResourceStorage\Resource\CollectionTest\testDuplicates().