ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Public Member Functions | |
__construct (int $a_entry_id) | |
getUsage () | |
getEntryId () | |
getIsDefault () | |
Get if the entry is default No setter for this. More... | |
setOutdated (bool $a_value) | |
getOutdated () | |
setTitle (string $a_title) | |
getTitle () | |
setDescription (string $a_desc) | |
getDescription () | |
getCopyrightData () | |
setCopyrightData (string $full_name, ?URI $link, ?URI $image_link, string $alt_text) | |
setCopyright (string $a_copyright) | |
getCopyright () | |
setCosts (bool $a_costs) | |
getCosts () | |
setLanguage (string $a_lang_key) | |
getLanguage () | |
setCopyrightAndOtherRestrictions (bool $a_status) | |
getCopyrightAndOtherRestrictions () | |
setOrderPosition (int $a_position) | |
getOrderPosition () | |
add () | |
update () | |
delete () | |
validate () | |
Static Public Member Functions | |
static | _getEntries () |
static | lookupCopyyrightTitle (string $a_cp_string) |
static | _lookupCopyright (string $a_cp_string) |
static | _lookupCopyrightForExport (string $a_cp_string) |
static | lookupCopyrightFromImport (string $copyright_text) |
static | _extractEntryId (string $a_cp_string) |
static | isEntry ($a_cp_string) |
static | getDefault () |
static | createIdentifier (int $a_entry_id) |
Protected Member Functions | |
getNextOrderPosition () | |
Static Protected Member Functions | |
static | getCopyrightDataFromRow (stdClass $row) |
static | renderCopyrightFromRow (stdClass $row) |
Protected Attributes | |
ilLogger | $logger |
ilDBInterface | $db |
bool | $outdated = false |
int | $order_position = 0 |
CopyrightDataInterface | $copyright_data |
Private Member Functions | |
read () | |
Private Attributes | |
int | $entry_id |
string | $title = '' |
string | $description = '' |
string | $copyright = '' |
bool | $costs = false |
string | $language = '' |
bool | $copyright_and_other_restrictions = true |
int | $usage = 0 |
Definition at line 32 of file class.ilMDCopyrightSelectionEntry.php.
ilMDCopyrightSelectionEntry::__construct | ( | int | $a_entry_id | ) |
Definition at line 52 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, ILIAS\Repository\logger(), and read().
|
static |
Definition at line 195 of file class.ilMDCopyrightSelectionEntry.php.
References IL_INST_ID.
Referenced by ilMDCopyrightSelectionGUI\fillTemplate(), ilMDKeywordExposer\getContentModification(), and ilMDEditorGUI\listQuickEditCopyright().
|
static |
Definition at line 65 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilCronOerHarvester\addCustomSettingsToForm(), ilMDCopyrightSelectionGUI\fillTemplate(), ilContainerFilterUtil\getContainerRecordTitle(), ilMDEditorGUI\listQuickEditCopyright(), and ilMDCopyrightTableGUI\parseSelections().
|
static |
Definition at line 121 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\T_INTEGER.
Referenced by ilMDUtils\_parseCopyright().
|
static |
Definition at line 139 of file class.ilMDCopyrightSelectionEntry.php.
References $data, $DIC, $ilDB, $query, $res, and ilDBConstants\T_INTEGER.
Referenced by ilMDRights\toXML().
ilMDCopyrightSelectionEntry::add | ( | ) |
Definition at line 365 of file class.ilMDCopyrightSelectionEntry.php.
References getCopyrightAndOtherRestrictions(), getCopyrightData(), getCosts(), getDescription(), getLanguage(), getNextOrderPosition(), and getTitle().
|
static |
Definition at line 457 of file class.ilMDCopyrightSelectionEntry.php.
References IL_INST_ID.
Referenced by ilMDUtils\_getDefaultCopyright(), ilContainer\filterObjIdsByCopyright(), and ilMDRights\parseDescriptionFromImport().
ilMDCopyrightSelectionEntry::delete | ( | ) |
Definition at line 406 of file class.ilMDCopyrightSelectionEntry.php.
References $query, $res, and getEntryId().
Referenced by ilObjMDSettingsGUI\deleteEntries().
ilMDCopyrightSelectionEntry::getCopyright | ( | ) |
Definition at line 311 of file class.ilMDCopyrightSelectionEntry.php.
References $copyright.
ilMDCopyrightSelectionEntry::getCopyrightAndOtherRestrictions | ( | ) |
Definition at line 341 of file class.ilMDCopyrightSelectionEntry.php.
References $copyright_and_other_restrictions.
Referenced by add(), and update().
ilMDCopyrightSelectionEntry::getCopyrightData | ( | ) |
Definition at line 284 of file class.ilMDCopyrightSelectionEntry.php.
References $copyright_data.
Referenced by add(), and update().
|
staticprotected |
Definition at line 98 of file class.ilMDCopyrightSelectionEntry.php.
ilMDCopyrightSelectionEntry::getCosts | ( | ) |
Definition at line 321 of file class.ilMDCopyrightSelectionEntry.php.
References $costs.
Referenced by add(), and update().
|
static |
Definition at line 249 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $query, $res, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilMDUtils\_getDefaultCopyright(), ilContainer\filterObjIdsByCopyright(), and ilMDEditorGUI\listQuickEditCopyright().
ilMDCopyrightSelectionEntry::getDescription | ( | ) |
Definition at line 279 of file class.ilMDCopyrightSelectionEntry.php.
References $description.
Referenced by add(), and update().
ilMDCopyrightSelectionEntry::getEntryId | ( | ) |
Definition at line 219 of file class.ilMDCopyrightSelectionEntry.php.
References $entry_id.
Referenced by delete(), read(), and update().
ilMDCopyrightSelectionEntry::getIsDefault | ( | ) |
Get if the entry is default No setter for this.
Definition at line 228 of file class.ilMDCopyrightSelectionEntry.php.
ilMDCopyrightSelectionEntry::getLanguage | ( | ) |
Definition at line 331 of file class.ilMDCopyrightSelectionEntry.php.
References $language.
Referenced by add(), and update().
|
protected |
Definition at line 356 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by add().
ilMDCopyrightSelectionEntry::getOrderPosition | ( | ) |
Definition at line 351 of file class.ilMDCopyrightSelectionEntry.php.
References $order_position.
Referenced by update().
ilMDCopyrightSelectionEntry::getOutdated | ( | ) |
Definition at line 244 of file class.ilMDCopyrightSelectionEntry.php.
References $outdated.
Referenced by update().
ilMDCopyrightSelectionEntry::getTitle | ( | ) |
Definition at line 269 of file class.ilMDCopyrightSelectionEntry.php.
References $title.
Referenced by add(), ilObjMDSettingsGUI\confirmDeleteEntries(), update(), and validate().
ilMDCopyrightSelectionEntry::getUsage | ( | ) |
|
static |
Definition at line 206 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by ilMDUtils\_parseCopyright().
|
static |
Definition at line 159 of file class.ilMDCopyrightSelectionEntry.php.
References $data, $DIC, $entry_id, $query, $res, ilDBInterface\fetchObject(), ILIAS\Repository\int(), and ilDBInterface\query().
Referenced by ilMDRights\parseDescriptionFromImport().
|
static |
Definition at line 81 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\T_INTEGER.
|
private |
Definition at line 418 of file class.ilMDCopyrightSelectionEntry.php.
References $data, $query, $res, getEntryId(), IL_INST_ID, ILIAS\Repository\int(), setCopyright(), setCopyrightAndOtherRestrictions(), setCopyrightData(), setCosts(), setDescription(), setLanguage(), setOrderPosition(), setOutdated(), and setTitle().
Referenced by __construct().
|
staticprotected |
Definition at line 108 of file class.ilMDCopyrightSelectionEntry.php.
ilMDCopyrightSelectionEntry::setCopyright | ( | string | $a_copyright | ) |
Definition at line 306 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setCopyrightAndOtherRestrictions | ( | bool | $a_status | ) |
Definition at line 336 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setCopyrightData | ( | string | $full_name, |
?URI | $link, | ||
?URI | $image_link, | ||
string | $alt_text | ||
) |
Definition at line 292 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setCosts | ( | bool | $a_costs | ) |
Definition at line 316 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setDescription | ( | string | $a_desc | ) |
Definition at line 274 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setLanguage | ( | string | $a_lang_key | ) |
Definition at line 326 of file class.ilMDCopyrightSelectionEntry.php.
References ILIAS\UI\examples\Symbol\Glyph\Language\language().
Referenced by read().
ilMDCopyrightSelectionEntry::setOrderPosition | ( | int | $a_position | ) |
Definition at line 346 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setOutdated | ( | bool | $a_value | ) |
Definition at line 239 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setTitle | ( | string | $a_title | ) |
Definition at line 264 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::update | ( | ) |
Definition at line 386 of file class.ilMDCopyrightSelectionEntry.php.
References getCopyrightAndOtherRestrictions(), getCopyrightData(), getCosts(), getDescription(), getEntryId(), getLanguage(), getOrderPosition(), getOutdated(), and getTitle().
ilMDCopyrightSelectionEntry::validate | ( | ) |
Definition at line 413 of file class.ilMDCopyrightSelectionEntry.php.
References getTitle().
|
private |
Definition at line 40 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getCopyright().
|
private |
Definition at line 43 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getCopyrightAndOtherRestrictions().
|
protected |
Definition at line 50 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getCopyrightData().
|
private |
Definition at line 41 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getCosts().
|
protected |
Definition at line 35 of file class.ilMDCopyrightSelectionEntry.php.
|
private |
Definition at line 39 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getDescription().
|
private |
Definition at line 37 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getEntryId(), and lookupCopyrightFromImport().
|
private |
Definition at line 42 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getLanguage().
|
protected |
Definition at line 34 of file class.ilMDCopyrightSelectionEntry.php.
|
protected |
Definition at line 48 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getOrderPosition().
|
protected |
Definition at line 46 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getOutdated().
|
private |
Definition at line 38 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getTitle().
|
private |
Definition at line 44 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getUsage().