ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($a_entry_id) | |
Constructor. More... | |
getUsage () | |
get usage More... | |
getEntryId () | |
get entry id More... | |
getIsDefault () | |
Get if the entry is default No setter for this. More... | |
setOutdated ($a_value) | |
Set copyright element as outdated and not usable anymore. More... | |
getOutdated () | |
setTitle ($a_title) | |
set title More... | |
getTitle () | |
get title More... | |
setDescription ($a_desc) | |
set description More... | |
getDescription () | |
get description More... | |
setCopyright ($a_copyright) | |
set copyright More... | |
getCopyright () | |
get copyright More... | |
setCosts ($a_costs) | |
set costs More... | |
getCosts () | |
get costs More... | |
setLanguage ($a_lang_key) | |
set language More... | |
getLanguage () | |
get language More... | |
setCopyrightAndOtherRestrictions ($a_status) | |
set copyright and other restrictions More... | |
getCopyrightAndOtherRestrictions () | |
get copyright and other restrictions More... | |
setOrderPosition ($a_position) | |
Set the order position in the table of copyrights. More... | |
getOrderPosition () | |
Get the order position in the table of copyrights. More... | |
add () | |
Add entry. More... | |
update () | |
update More... | |
delete () | |
delete More... | |
validate () | |
validate More... | |
Static Public Member Functions | |
static | _getEntries () |
get entries More... | |
static | lookupCopyyrightTitle ($a_cp_string) |
Lookup copyright title. More... | |
static | _lookupCopyright ($a_cp_string) |
lookup copyright by entry id More... | |
static | lookupCopyrightByText ($copyright_text) |
static | _extractEntryId ($a_cp_string) |
extract entry id More... | |
static | getDefault () |
Get default. More... | |
static | createIdentifier ($a_entry_id) |
Create identifier for entry id. More... | |
Protected Member Functions | |
getNextOrderPosition () | |
Protected Attributes | |
$logger = null | |
$db | |
$outdated | |
$order_position | |
Private Member Functions | |
read () | |
Read entry. More... | |
Private Attributes | |
$entry_id | |
$title | |
$decription | |
$copyright | |
$costs | |
$language | |
$copyright_and_other_restrictions | |
Definition at line 32 of file class.ilMDCopyrightSelectionEntry.php.
ilMDCopyrightSelectionEntry::__construct | ( | $a_entry_id | ) |
Constructor.
public
int | entry id |
Definition at line 64 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $GLOBALS, and read().
|
static |
extract entry id
public
Definition at line 176 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by ilMDCopyrightSelectionGUI\fillTemplate(), ilCopyrightInputGUI\insert(), and ilMDEditorGUI\listQuickEditCopyright().
|
static |
get entries
Definition at line 83 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCronOerHarvester\addCustomSettingsToForm(), ilMDCopyrightSelectionGUI\fillTemplate(), ilCopyrightInputGUI\insert(), ilMDEditorGUI\listQuickEditCopyright(), and ilMDCopyrightTableGUI\parseSelections().
|
static |
lookup copyright by entry id
public
string | copyright string il_copyright_entry__IL_INST_ID__ENTRY_ID |
Definition at line 130 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $entry_id, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMDUtils\_parseCopyright(), and ilMDRights\toXML().
ilMDCopyrightSelectionEntry::add | ( | ) |
Add entry.
public
Definition at line 429 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $ilDB, getCopyright(), getCopyrightAndOtherRestrictions(), getCosts(), getDescription(), getLanguage(), getNextOrderPosition(), and getTitle().
|
static |
Create identifier for entry id.
$a_entry_id |
Definition at line 553 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by ilMDRights\parseDescriptionFromImport().
ilMDCopyrightSelectionEntry::delete | ( | ) |
delete
public
Definition at line 484 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $ilDB, $query, $res, and getEntryId().
ilMDCopyrightSelectionEntry::getCopyright | ( | ) |
get copyright
publi
Definition at line 323 of file class.ilMDCopyrightSelectionEntry.php.
References $copyright.
Referenced by add(), and update().
ilMDCopyrightSelectionEntry::getCopyrightAndOtherRestrictions | ( | ) |
get copyright and other restrictions
public
Definition at line 391 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by add(), and update().
ilMDCopyrightSelectionEntry::getCosts | ( | ) |
get costs
public
Definition at line 345 of file class.ilMDCopyrightSelectionEntry.php.
References $costs.
Referenced by add(), and update().
|
static |
Get default.
Definition at line 246 of file class.ilMDCopyrightSelectionEntry.php.
References $db, $DIC, $query, $res, $row, and ilDBConstants\FETCHMODE_DEFAULT.
Referenced by ilMDEditorGUI\listQuickEditCopyright().
ilMDCopyrightSelectionEntry::getDescription | ( | ) |
get description
public
Definition at line 301 of file class.ilMDCopyrightSelectionEntry.php.
References $description.
Referenced by add(), and update().
ilMDCopyrightSelectionEntry::getEntryId | ( | ) |
ilMDCopyrightSelectionEntry::getIsDefault | ( | ) |
Get if the entry is default No setter for this.
Definition at line 215 of file class.ilMDCopyrightSelectionEntry.php.
References $query, $res, $row, and ilDBConstants\FETCHMODE_DEFAULT.
ilMDCopyrightSelectionEntry::getLanguage | ( | ) |
get language
public
Definition at line 368 of file class.ilMDCopyrightSelectionEntry.php.
References $language.
Referenced by add(), and update().
|
protected |
Definition at line 415 of file class.ilMDCopyrightSelectionEntry.php.
References $query, $res, $row, and ilDBConstants\FETCHMODE_ASSOC.
Referenced by add().
ilMDCopyrightSelectionEntry::getOrderPosition | ( | ) |
Get the order position in the table of copyrights.
Definition at line 410 of file class.ilMDCopyrightSelectionEntry.php.
References $order_position.
Referenced by update().
ilMDCopyrightSelectionEntry::getOutdated | ( | ) |
Definition at line 238 of file class.ilMDCopyrightSelectionEntry.php.
References $outdated.
Referenced by update().
ilMDCopyrightSelectionEntry::getTitle | ( | ) |
get title
public
Definition at line 279 of file class.ilMDCopyrightSelectionEntry.php.
References $title.
Referenced by add(), update(), and validate().
ilMDCopyrightSelectionEntry::getUsage | ( | ) |
|
static |
$copyright_text |
ilDatabaseException |
Definition at line 152 of file class.ilMDCopyrightSelectionEntry.php.
References $db, $DIC, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMDRights\parseDescriptionFromImport().
|
static |
Lookup copyright title.
Currently used for export of meta data
type | $a_cp_string |
Definition at line 104 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $entry_id, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMDRights\toXML().
|
private |
Read entry.
private
Definition at line 517 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, getEntryId(), setCopyright(), setCopyrightAndOtherRestrictions(), setCosts(), setDescription(), setLanguage(), setOrderPosition(), setOutdated(), and setTitle().
Referenced by __construct().
ilMDCopyrightSelectionEntry::setCopyright | ( | $a_copyright | ) |
set copyright
public
string | $copyright |
Definition at line 313 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setCopyrightAndOtherRestrictions | ( | $a_status | ) |
set copyright and other restrictions
public
bool | copyright and other restrictions |
Definition at line 379 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setCosts | ( | $a_costs | ) |
set costs
public
Definition at line 335 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setDescription | ( | $a_desc | ) |
set description
public
string | description |
Definition at line 291 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setLanguage | ( | $a_lang_key | ) |
set language
public
string | language key |
Definition at line 357 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setOrderPosition | ( | $a_position | ) |
Set the order position in the table of copyrights.
$a_position | integer |
Definition at line 401 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setOutdated | ( | $a_value | ) |
Set copyright element as outdated and not usable anymore.
$a_value |
Definition at line 230 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setTitle | ( | $a_title | ) |
set title
public
string | title |
Definition at line 268 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::update | ( | ) |
update
public
Definition at line 457 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $ilDB, getCopyright(), getCopyrightAndOtherRestrictions(), getCosts(), getDescription(), getEntryId(), getLanguage(), getOrderPosition(), getOutdated(), and getTitle().
ilMDCopyrightSelectionEntry::validate | ( | ) |
validate
public
Definition at line 502 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.
|
private |
Definition at line 41 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getCosts().
|
protected |
Definition at line 35 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getDefault(), and lookupCopyrightByText().
|
private |
Definition at line 39 of file class.ilMDCopyrightSelectionEntry.php.
|
private |
Definition at line 37 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by _lookupCopyright(), getEntryId(), and lookupCopyyrightTitle().
|
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 54 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getOrderPosition().
|
protected |
Definition at line 48 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getOutdated().
|
private |
Definition at line 38 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getTitle().