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);
82 "SELECT object_id FROM export_files_html WHERE rid = %s;",
88 return (isset(
$d->object_id) ? (
int)
$d->object_id :
null);
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)