ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ILIAS\MetaData\Copyright\RepositoryInterface Interface Reference
+ Inheritance diagram for ILIAS\MetaData\Copyright\RepositoryInterface:
+ Collaboration diagram for ILIAS\MetaData\Copyright\RepositoryInterface:

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...
 

Detailed Description

Definition at line 25 of file RepositoryInterface.php.

Member Function Documentation

◆ createEntry()

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.

◆ deleteEntry()

ILIAS\MetaData\Copyright\RepositoryInterface::deleteEntry ( int  $id)

◆ getActiveEntries()

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.

◆ getAllEntries()

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.

Referenced by ilMDCopyrightSelectionEntry\lookupCopyrightFromImport().

+ Here is the caller graph for this function:

◆ getDefaultEntry()

ILIAS\MetaData\Copyright\RepositoryInterface::getDefaultEntry ( )

◆ getEntry()

ILIAS\MetaData\Copyright\RepositoryInterface::getEntry ( int  $id)

Implemented in ILIAS\MetaData\Copyright\DatabaseRepository.

Referenced by ilMDCopyrightSelectionEntry\_lookupCopyrightForExport().

+ Here is the caller graph for this function:

◆ reorderEntries()

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.

◆ updateEntry()

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 = '' 
)

The documentation for this interface was generated from the following file: