32 return 'exc_instruction_files';
45 if ($object_id ===
null) {
52 if ($DIC->access()->checkAccessOfUser($this->current_user,
'read',
'', $ref_id)) {
71 if ($object_id !==
null) {
73 $ref_id = array_shift($references);
76 return ilLink::_getLink(
$ref_id,
'exc');
85 "SELECT exc_id, rcid FROM il_resource_rca JOIN exc_assignment ON exc_assignment.if_rcid = il_resource_rca.rcid WHERE il_resource_rca.rid = %s;",
91 return (isset(
$d->exc_id) ? (
int)
$d->exc_id :
null);
resourceHasBeenDeleted(ResourceIdentification $identification)
static _getAllReferences(int $id)
get all reference ids for object ID
getLocationURIForResourceUsage(ResourceIdentification $identification)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Class ResourceIdentification.
resolveObjectId(ResourceIdentification $identification)
canBeAccessedByCurrentUser(ResourceIdentification $identification)