ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
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 () | |
setCopyright (string $a_copyright) | |
getCopyright () | |
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 () | |
Protected Attributes | |
ilLogger | $logger |
ilDBInterface | $db |
RendererInterface | $renderer |
RepositoryInterface | $repository |
UIRenderer | $ui_renderer |
bool | $outdated = false |
int | $order_position = 0 |
Private Member Functions | |
read () | |
Private Attributes | |
int | $entry_id |
string | $title = '' |
string | $description = '' |
string | $copyright = '' |
int | $usage = 0 |
Definition at line 33 of file class.ilMDCopyrightSelectionEntry.php.
ilMDCopyrightSelectionEntry::__construct | ( | int | $a_entry_id | ) |
Definition at line 51 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, ILIAS\Repository\logger(), read(), renderer(), and ILIAS\UI\examples\Deck\repository().
|
static |
|
static |
Definition at line 70 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $ilDB, and $res.
|
static |
Definition at line 103 of file class.ilMDCopyrightSelectionEntry.php.
References $components, $DIC, and ILIAS\MetaData\Copyright\RendererInterface\toUIComponents().
Referenced by ilMDUtils\_parseCopyright().
|
static |
Definition at line 124 of file class.ilMDCopyrightSelectionEntry.php.
References $data, $DIC, and ILIAS\MetaData\Copyright\RepositoryInterface\getEntry().
Referenced by ilMDRights\toXML().
ilMDCopyrightSelectionEntry::add | ( | ) |
Definition at line 288 of file class.ilMDCopyrightSelectionEntry.php.
References getDescription(), getNextOrderPosition(), getOutdated(), and getTitle().
|
static |
Definition at line 355 of file class.ilMDCopyrightSelectionEntry.php.
References IL_INST_ID.
Referenced by ilMDUtils\_getDefaultCopyright(), and ilMDRights\parseDescriptionFromImport().
ilMDCopyrightSelectionEntry::delete | ( | ) |
Definition at line 318 of file class.ilMDCopyrightSelectionEntry.php.
ilMDCopyrightSelectionEntry::getCopyright | ( | ) |
Definition at line 264 of file class.ilMDCopyrightSelectionEntry.php.
References $copyright.
|
static |
Definition at line 224 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $res, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilMDUtils\_getDefaultCopyright().
ilMDCopyrightSelectionEntry::getDescription | ( | ) |
Definition at line 254 of file class.ilMDCopyrightSelectionEntry.php.
References $description.
Referenced by add(), and update().
ilMDCopyrightSelectionEntry::getEntryId | ( | ) |
Definition at line 194 of file class.ilMDCopyrightSelectionEntry.php.
References $entry_id.
Referenced by read(), and update().
ilMDCopyrightSelectionEntry::getIsDefault | ( | ) |
Get if the entry is default No setter for this.
Definition at line 203 of file class.ilMDCopyrightSelectionEntry.php.
References $res.
|
protected |
Definition at line 279 of file class.ilMDCopyrightSelectionEntry.php.
References $res.
Referenced by add().
ilMDCopyrightSelectionEntry::getOrderPosition | ( | ) |
Definition at line 274 of file class.ilMDCopyrightSelectionEntry.php.
References $order_position.
Referenced by update().
ilMDCopyrightSelectionEntry::getOutdated | ( | ) |
Definition at line 219 of file class.ilMDCopyrightSelectionEntry.php.
References $outdated.
Referenced by add(), and update().
ilMDCopyrightSelectionEntry::getTitle | ( | ) |
Definition at line 244 of file class.ilMDCopyrightSelectionEntry.php.
References $title.
Referenced by add(), update(), and validate().
ilMDCopyrightSelectionEntry::getUsage | ( | ) |
|
static |
Definition at line 181 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by ilMDUtils\_parseCopyright().
|
static |
Definition at line 139 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, ILIAS\MetaData\Copyright\RepositoryInterface\getAllEntries(), and null.
Referenced by ilMDRights\parseDescriptionFromImport().
|
static |
Definition at line 86 of file class.ilMDCopyrightSelectionEntry.php.
References $DIC, $ilDB, $res, and ilDBConstants\T_INTEGER.
|
private |
Definition at line 330 of file class.ilMDCopyrightSelectionEntry.php.
References $res, getEntryId(), IL_INST_ID, ILIAS\Repository\int(), renderer(), ILIAS\UI\examples\Deck\repository(), setCopyright(), setDescription(), setOrderPosition(), setOutdated(), and setTitle().
Referenced by __construct().
ilMDCopyrightSelectionEntry::setCopyright | ( | string | $a_copyright | ) |
Definition at line 259 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setDescription | ( | string | $a_desc | ) |
Definition at line 249 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setOrderPosition | ( | int | $a_position | ) |
Definition at line 269 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setOutdated | ( | bool | $a_value | ) |
Definition at line 214 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::setTitle | ( | string | $a_title | ) |
Definition at line 239 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by read().
ilMDCopyrightSelectionEntry::update | ( | ) |
Definition at line 304 of file class.ilMDCopyrightSelectionEntry.php.
References getDescription(), getEntryId(), getOrderPosition(), getOutdated(), and getTitle().
ilMDCopyrightSelectionEntry::validate | ( | ) |
Definition at line 325 of file class.ilMDCopyrightSelectionEntry.php.
References getTitle().
|
private |
Definition at line 44 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getCopyright().
|
protected |
Definition at line 36 of file class.ilMDCopyrightSelectionEntry.php.
|
private |
Definition at line 43 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getDescription().
|
private |
Definition at line 41 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getEntryId().
|
protected |
Definition at line 35 of file class.ilMDCopyrightSelectionEntry.php.
|
protected |
Definition at line 49 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getOrderPosition().
|
protected |
Definition at line 47 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getOutdated().
|
protected |
Definition at line 37 of file class.ilMDCopyrightSelectionEntry.php.
|
protected |
Definition at line 38 of file class.ilMDCopyrightSelectionEntry.php.
|
private |
Definition at line 42 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getTitle().
|
protected |
Definition at line 39 of file class.ilMDCopyrightSelectionEntry.php.
|
private |
Definition at line 45 of file class.ilMDCopyrightSelectionEntry.php.
Referenced by getUsage().