|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for ilMDRights:
Collaboration diagram for ilMDRights:Public Member Functions | |
| setCosts (string $a_costs) | |
| getCosts () | |
| setCopyrightAndOtherRestrictions (string $a_caor) | |
| getCopyrightAndOtherRestrictions () | |
| setDescription (string $a_description) | |
| getDescription () | |
| setDescriptionLanguage (ilMDLanguageItem $lng_obj) | |
| getDescriptionLanguage () | |
| getDescriptionLanguageCode () | |
| save () | |
| update () | |
| delete () | |
| __getFields () | |
| read () | |
| toXML (ilXmlWriter $writer) | |
| parseDescriptionFromImport (string $a_description) | |
Public Member Functions inherited from ilMDBase | |
| __construct (int $a_rbac_id=0, int $a_obj_id=0, string $a_type='') | |
| constructor More... | |
| read () | |
| setRBACId (int $a_id) | |
| getRBACId () | |
| setObjId (int $a_id) | |
| getObjId () | |
| setObjType (string $a_type) | |
| getObjType () | |
| setMetaId (int $a_meta_id, bool $a_read_data=true) | |
| getMetaId () | |
| setParentType (string $a_parent_type) | |
| getParentType () | |
| setParentId (int $a_id) | |
| getParentId () | |
| setExportMode (bool $a_export_mode=true) | |
| getExportMode () | |
| validate () | |
| update () | |
| save () | |
| delete () | |
| toXML (ilXmlWriter $writer) | |
Static Public Member Functions | |
| static | lookupRightsByTypeAndCopyright (array $a_types, array $a_copyright) |
| static | _lookupDescription (int $a_rbac_id, int $a_obj_id) |
| static | _getId (int $a_rbac_id, int $a_obj_id) |
Private Attributes | |
| const | YES_NO_TRANSLATION |
| Compatibility fix for legacy MD classes for new db tables. More... | |
| const string | $costs = '' |
| string | $caor = '' |
| string | $description = '' |
| ilMDLanguageItem | $description_language = null |
Additional Inherited Members | |
Protected Attributes inherited from ilMDBase | |
| ilLogger | $log |
| ilDBInterface | $db |
Definition at line 27 of file class.ilMDRights.php.
| ilMDRights::__getFields | ( | ) |
Compatibility fix for legacy MD classes for new db tables
Definition at line 166 of file class.ilMDRights.php.
References getCopyrightAndOtherRestrictions(), getCosts(), getDescription(), getDescriptionLanguageCode(), ilMDBase\getObjId(), ilMDBase\getObjType(), and ilMDBase\getRBACId().
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 268 of file class.ilMDRights.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMD\getRights().
Here is the caller graph for this function:
|
static |
Definition at line 249 of file class.ilMDRights.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
| ilMDRights::delete | ( | ) |
Definition at line 150 of file class.ilMDRights.php.
References ilMDBase\getMetaId().
Here is the call graph for this function:| ilMDRights::getCopyrightAndOtherRestrictions | ( | ) |
Definition at line 99 of file class.ilMDRights.php.
References $caor.
Referenced by __getFields(), and toXML().
Here is the caller graph for this function:| ilMDRights::getCosts | ( | ) |
Definition at line 81 of file class.ilMDRights.php.
References $costs.
Referenced by __getFields(), and toXML().
Here is the caller graph for this function:| ilMDRights::getDescription | ( | ) |
Definition at line 109 of file class.ilMDRights.php.
References $description.
Referenced by __getFields(), and toXML().
Here is the caller graph for this function:| ilMDRights::getDescriptionLanguage | ( | ) |
Definition at line 119 of file class.ilMDRights.php.
| ilMDRights::getDescriptionLanguageCode | ( | ) |
Definition at line 124 of file class.ilMDRights.php.
Referenced by __getFields(), and toXML().
Here is the caller graph for this function:
|
static |
| string[] | $a_types |
| string[] | $a_copyright |
Definition at line 47 of file class.ilMDRights.php.
References ilMDBase\$db, $DIC, $res, ilDBConstants\FETCHMODE_OBJECT, ilLoggerFactory\getLogger(), ilDBInterface\in(), ILIAS\Repository\int(), and ilDBInterface\query().
Here is the call graph for this function:| ilMDRights::parseDescriptionFromImport | ( | string | $a_description | ) |
Definition at line 239 of file class.ilMDRights.php.
References ilMDCopyrightSelectionEntry\createIdentifier(), ilMDCopyrightSelectionEntry\lookupCopyrightFromImport(), and setDescription().
Here is the call graph for this function:| ilMDRights::read | ( | ) |
Compatibility fix for legacy MD classes for new db tables
Definition at line 191 of file class.ilMDRights.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, ilMDBase\getMetaId(), setCopyrightAndOtherRestrictions(), setCosts(), setDescription(), setDescriptionLanguage(), ilMDBase\setObjId(), ilMDBase\setObjType(), and ilMDBase\setRBACId().
Here is the call graph for this function:| ilMDRights::save | ( | ) |
Definition at line 129 of file class.ilMDRights.php.
References __getFields(), ilMDBase\getMetaId(), and ilMDBase\setMetaId().
Here is the call graph for this function:| ilMDRights::setCopyrightAndOtherRestrictions | ( | string | $a_caor | ) |
Definition at line 86 of file class.ilMDRights.php.
Referenced by read().
Here is the caller graph for this function:| ilMDRights::setCosts | ( | string | $a_costs | ) |
Definition at line 68 of file class.ilMDRights.php.
Referenced by read().
Here is the caller graph for this function:| ilMDRights::setDescription | ( | string | $a_description | ) |
Definition at line 104 of file class.ilMDRights.php.
Referenced by parseDescriptionFromImport(), and read().
Here is the caller graph for this function:| ilMDRights::setDescriptionLanguage | ( | ilMDLanguageItem | $lng_obj | ) |
Definition at line 114 of file class.ilMDRights.php.
Referenced by read().
Here is the caller graph for this function:| ilMDRights::toXML | ( | ilXmlWriter | $writer | ) |
Definition at line 222 of file class.ilMDRights.php.
References ilMDCopyrightSelectionEntry\_lookupCopyrightForExport(), getCopyrightAndOtherRestrictions(), getCosts(), getDescription(), getDescriptionLanguageCode(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Here is the call graph for this function:| ilMDRights::update | ( | ) |
Definition at line 141 of file class.ilMDRights.php.
References __getFields(), and ilMDBase\getMetaId().
Here is the call graph for this function:
|
private |
Definition at line 38 of file class.ilMDRights.php.
Referenced by getCopyrightAndOtherRestrictions().
|
private |
Definition at line 37 of file class.ilMDRights.php.
Referenced by getCosts().
|
private |
Definition at line 39 of file class.ilMDRights.php.
Referenced by getDescription().
|
private |
Definition at line 40 of file class.ilMDRights.php.
|
private |
Compatibility fix for legacy MD classes for new db tables.
Definition at line 32 of file class.ilMDRights.php.