ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
Public Member Functions | |
getEntry (int $id) | |
getAllEntries () | |
The default entry is returned first, and the remaining entries are returned according to their position. More... | |
getActiveEntries () | |
The default entry is returned first, and the remaining entries are returned according to their position. More... | |
getDefaultEntry () | |
deleteEntry (int $id) | |
createEntry (string $title, string $description='', bool $is_outdated=false, string $full_name='', ?URI $link=null, URI|string $image='', string $alt_text='') | |
Returns the ID of the newly created entry. More... | |
updateEntry (int $id, string $title, string $description='', bool $is_outdated=false, string $full_name='', ?URI $link=null, URI|string $image='', string $alt_text='') | |
reorderEntries (int ... $ids) | |
Updates the position of entries according to the order their IDs are passed. More... | |
Definition at line 25 of file RepositoryInterface.php.
ILIAS\MetaData\Copyright\RepositoryInterface::createEntry | ( | string | $title, |
string | $description = '' , |
||
bool | $is_outdated = false , |
||
string | $full_name = '' , |
||
?URI | $link = null , |
||
URI|string | $image = '' , |
||
string | $alt_text = '' |
||
) |
Returns the ID of the newly created entry.
Implemented in ILIAS\MetaData\Copyright\DatabaseRepository, and ILIAS\MetaData\Copyright\NullRepository.
ILIAS\MetaData\Copyright\RepositoryInterface::deleteEntry | ( | int | $id | ) |
Implemented in ILIAS\MetaData\Copyright\DatabaseRepository, and ILIAS\MetaData\Copyright\NullRepository.
ILIAS\MetaData\Copyright\RepositoryInterface::getActiveEntries | ( | ) |
The default entry is returned first, and the remaining entries are returned according to their position.
Outdated entries are skipped.
Implemented in ILIAS\MetaData\Copyright\DatabaseRepository, and ILIAS\MetaData\Copyright\NullRepository.
ILIAS\MetaData\Copyright\RepositoryInterface::getAllEntries | ( | ) |
The default entry is returned first, and the remaining entries are returned according to their position.
Implemented in ILIAS\MetaData\Copyright\DatabaseRepository, and ILIAS\MetaData\Copyright\NullRepository.
Referenced by ilMDCopyrightSelectionEntry\lookupCopyrightFromImport().
ILIAS\MetaData\Copyright\RepositoryInterface::getDefaultEntry | ( | ) |
Implemented in ILIAS\MetaData\Copyright\DatabaseRepository, and ILIAS\MetaData\Copyright\NullRepository.
ILIAS\MetaData\Copyright\RepositoryInterface::getEntry | ( | int | $id | ) |
Implemented in ILIAS\MetaData\Copyright\DatabaseRepository, and ILIAS\MetaData\Copyright\NullRepository.
Referenced by ilMDCopyrightSelectionEntry\_lookupCopyrightForExport().
ILIAS\MetaData\Copyright\RepositoryInterface::reorderEntries | ( | int ... | $ids | ) |
Updates the position of entries according to the order their IDs are passed.
Implemented in ILIAS\MetaData\Copyright\DatabaseRepository, and ILIAS\MetaData\Copyright\NullRepository.
ILIAS\MetaData\Copyright\RepositoryInterface::updateEntry | ( | int | $id, |
string | $title, | ||
string | $description = '' , |
||
bool | $is_outdated = false , |
||
string | $full_name = '' , |
||
?URI | $link = null , |
||
URI|string | $image = '' , |
||
string | $alt_text = '' |
||
) |
Implemented in ILIAS\MetaData\Copyright\DatabaseRepository, and ILIAS\MetaData\Copyright\NullRepository.