ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
__construct ($a_entry_id) | |
Constructor. | |
getUsage () | |
get usage | |
getEntryId () | |
get entry id | |
setTitle ($a_title) | |
set title | |
getTitle () | |
get title | |
setDescription ($a_desc) | |
set description | |
getDescription () | |
get description | |
setCopyright ($a_copyright) | |
set copyright | |
getCopyright () | |
get copyright | |
setCosts ($a_costs) | |
set costs | |
getCosts () | |
get costs | |
setLanguage ($a_lang_key) | |
set language | |
getLanguage () | |
get language | |
setCopyrightAndOtherRestrictions ($a_status) | |
set copyright and other restrictions | |
getCopyrightAndOtherRestrictions () | |
get copyright and other restrictions | |
add () | |
Add entry. | |
update () | |
update | |
delete () | |
delete | |
validate () | |
validate |
Static Public Member Functions | |
static | _getEntries () |
get entries | |
static | _lookupCopyright ($a_cp_string) |
lookup copyright by entry id | |
static | _extractEntryId ($a_cp_string) |
extract entry id |
Protected Attributes | |
$db |
Private Member Functions | |
read () | |
Read entry. |
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 52 of file class.ilMDCopyrightSelectionEntry.php.
References read().
|
static |
extract entry id
public
Definition at line 113 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by ilMDCopyrightSelectionGUI\fillTemplate().
|
static |
get entries
public
Definition at line 68 of file class.ilMDCopyrightSelectionEntry.php.
References $res, and DB_FETCHMODE_OBJECT.
Referenced by ilMDCopyrightSelectionGUI\fillTemplate(), and ilMDCopyrightTableGUI\parseSelections().
|
static |
lookup copyright by entry id
public
string | copyright string il_copyright_entry__IL_INST_ID__ENTRY_ID |
Definition at line 89 of file class.ilMDCopyrightSelectionEntry.php.
References $entry_id, $res, and DB_FETCHMODE_OBJECT.
Referenced by ilMDUtils\_parseCopyright().
ilMDCopyrightSelectionEntry::add | ( | ) |
Add entry.
public
Definition at line 291 of file class.ilMDCopyrightSelectionEntry.php.
References getCopyright(), getCopyrightAndOtherRestrictions(), getCosts(), getDescription(), getLanguage(), and getTitle().
ilMDCopyrightSelectionEntry::delete | ( | ) |
delete
public
Definition at line 332 of file class.ilMDCopyrightSelectionEntry.php.
References getEntryId().
ilMDCopyrightSelectionEntry::getCopyright | ( | ) |
get copyright
publi
Definition at line 212 of file class.ilMDCopyrightSelectionEntry.php.
References $copyright.
Referenced by add(), and update().
ilMDCopyrightSelectionEntry::getCopyrightAndOtherRestrictions | ( | ) |
get copyright and other restrictions
public
Definition at line 280 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by add(), and update().
ilMDCopyrightSelectionEntry::getCosts | ( | ) |
get costs
public
Definition at line 234 of file class.ilMDCopyrightSelectionEntry.php.
References $costs.
Referenced by add(), and update().
ilMDCopyrightSelectionEntry::getDescription | ( | ) |
get description
public
Definition at line 190 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by add(), and update().
ilMDCopyrightSelectionEntry::getEntryId | ( | ) |
ilMDCopyrightSelectionEntry::getLanguage | ( | ) |
get language
public
Definition at line 257 of file class.ilMDCopyrightSelectionEntry.php.
References $language.
Referenced by add(), and update().
ilMDCopyrightSelectionEntry::getTitle | ( | ) |
get title
public
Definition at line 168 of file class.ilMDCopyrightSelectionEntry.php.
References $title.
Referenced by add(), update(), and validate().
ilMDCopyrightSelectionEntry::getUsage | ( | ) |
get usage
public
Definition at line 133 of file class.ilMDCopyrightSelectionEntry.php.
|
private |
Read entry.
private
Definition at line 363 of file class.ilMDCopyrightSelectionEntry.php.
References $res, DB_FETCHMODE_OBJECT, getEntryId(), setCopyright(), setCopyrightAndOtherRestrictions(), setCosts(), setDescription(), setLanguage(), and setTitle().
Referenced by __construct().
ilMDCopyrightSelectionEntry::setCopyright | ( | $a_copyright | ) |
set copyright
public
string | $copyright |
Definition at line 202 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 268 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setCosts | ( | $a_costs | ) |
set costs
public
Definition at line 224 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setDescription | ( | $a_desc | ) |
set description
public
string | description |
Definition at line 180 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setLanguage | ( | $a_lang_key | ) |
set language
public
string | language key |
Definition at line 246 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setTitle | ( | $a_title | ) |
set title
public
string | title |
Definition at line 157 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::update | ( | ) |
update
public
Definition at line 312 of file class.ilMDCopyrightSelectionEntry.php.
References getCopyright(), getCopyrightAndOtherRestrictions(), getCosts(), getDescription(), getEntryId(), getLanguage(), and getTitle().
ilMDCopyrightSelectionEntry::validate | ( | ) |
validate
public
Definition at line 347 of file class.ilMDCopyrightSelectionEntry.php.
References getTitle().
|
private |
Definition at line 39 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getCopyright().
|
private |
Definition at line 42 of file class.ilMDCopyrightSelectionEntry.php.
|
private |
Definition at line 40 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getCosts().
|
protected |
Definition at line 34 of file class.ilMDCopyrightSelectionEntry.php.
|
private |
Definition at line 38 of file class.ilMDCopyrightSelectionEntry.php.
|
private |
Definition at line 36 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by _lookupCopyright(), and getEntryId().
|
private |
Definition at line 41 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getLanguage().
|
private |
Definition at line 37 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getTitle().