3 declare(strict_types=1);
34 $ilDB = $DIC->database();
35 $tree = $DIC->repositoryTree();
36 $access = $DIC->access();
39 $query =
"SELECT target_obj_id FROM container_reference " .
40 "WHERE obj_id = " .
$ilDB->quote($obj_id,
'integer') .
" ";
47 $target_ref_id = current($target_ref_ids);
49 !$tree->isDeleted($target_ref_id) &&
50 $access->checkAccess(
'read',
'', $target_ref_id);
static _getAllReferences(int $id)
get all reference ids for object ID
static _lookupObjId(int $ref_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _isAccessible(int $a_ref_id)
Check if target is accessible and not deleted.