ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
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) | |
![]() | |
__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 | |
![]() | |
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().
|
static |
Definition at line 268 of file class.ilMDRights.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMD\getRights().
|
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().
ilMDRights::getCopyrightAndOtherRestrictions | ( | ) |
Definition at line 99 of file class.ilMDRights.php.
References $caor.
Referenced by __getFields(), and toXML().
ilMDRights::getCosts | ( | ) |
Definition at line 81 of file class.ilMDRights.php.
References $costs.
Referenced by __getFields(), and toXML().
ilMDRights::getDescription | ( | ) |
Definition at line 109 of file class.ilMDRights.php.
References $description.
Referenced by __getFields(), and toXML().
ilMDRights::getDescriptionLanguage | ( | ) |
Definition at line 119 of file class.ilMDRights.php.
References null.
ilMDRights::getDescriptionLanguageCode | ( | ) |
Definition at line 124 of file class.ilMDRights.php.
Referenced by __getFields(), and toXML().
|
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().
ilMDRights::parseDescriptionFromImport | ( | string | $a_description | ) |
Definition at line 239 of file class.ilMDRights.php.
References ilMDCopyrightSelectionEntry\createIdentifier(), ilMDCopyrightSelectionEntry\lookupCopyrightFromImport(), and setDescription().
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().
ilMDRights::save | ( | ) |
Definition at line 129 of file class.ilMDRights.php.
References __getFields(), ilMDBase\getMetaId(), and ilMDBase\setMetaId().
ilMDRights::setCopyrightAndOtherRestrictions | ( | string | $a_caor | ) |
Definition at line 86 of file class.ilMDRights.php.
Referenced by read().
ilMDRights::setCosts | ( | string | $a_costs | ) |
Definition at line 68 of file class.ilMDRights.php.
Referenced by read().
ilMDRights::setDescription | ( | string | $a_description | ) |
Definition at line 104 of file class.ilMDRights.php.
Referenced by parseDescriptionFromImport(), and read().
ilMDRights::setDescriptionLanguage | ( | ilMDLanguageItem | $lng_obj | ) |
Definition at line 114 of file class.ilMDRights.php.
Referenced by read().
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().
ilMDRights::update | ( | ) |
Definition at line 141 of file class.ilMDRights.php.
References __getFields(), and ilMDBase\getMetaId().
|
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.