42 if ($object_id ===
null) {
49 if ($DIC->access()->checkAccessOfUser($this->current_user,
'read',
'', $ref_id)) {
68 if ($object_id !==
null) {
70 $ref_id = array_shift($references);
73 return ilLink::_getLink(
$ref_id);
81 $r = $this->database->queryF(
82 "SELECT object_id FROM export_files_html WHERE rid = %s;",
86 $d = $this->database->fetchObject(
$r);
88 return (isset(
$d->object_id) ? (
int)
$d->object_id :
null);
94 if ($this->database ===
null) {
95 $this->database = $DIC->database();
resourceHasBeenDeleted(ResourceIdentification $identification)
getLocationURIForResourceUsage(ResourceIdentification $identification)
static _getAllReferences(int $id)
get all reference ids for object ID
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Class ResourceIdentification.
resolveObjectId(ResourceIdentification $identification)
canBeAccessedByCurrentUser(ResourceIdentification $identification)