19 declare(strict_types=1);
    32         $this->target_type = 
'prg';
    33         $this->reference_type = 
'prgr';
    37     public static function _goto(
string $target): void
    39         $target = (
int) $target;
    48         if (!(
int) $_REQUEST[
'target_id']) {
    51         if (!$ilAccess->checkAccess(
'visible', 
'', (
int) $_REQUEST[
'target_id'])) {
    52             $this->tpl->setOnScreenMessage(
"failure", $this->
lng->txt(
'permission_denied'));
    56             $this->tpl->setOnScreenMessage(
"failure", $this->
lng->txt(
'prgr_may_not_create_circular_reference'));
    66         $obj->setTargetId($target_obj_id);
    68         parent::putObjectInTree($obj, $parent_node_id);
    73         if ($reference_position === $obj_to_be_referenced) {
    76         $queque = [$reference_position];
    77         while ($parent = array_shift($queque)) {
    78             $p_parent = (
int) $this->tree->getParentId($parent);
    79             if ($p_parent === $obj_to_be_referenced) {
    83                 $queque[] = $p_parent;
    87                 $parent_ref_ref_id = (
int) array_shift($ref_ids);
    88                 $parent_ref_loc = (
int) $this->tree->getParentId($parent_ref_ref_id);
    89                 if ($parent_ref_loc === $obj_to_be_referenced) {
    93                     $queque[] = $parent_ref_loc;
 
static _goto(string $target)
 
static _getAllReferences(int $id)
get all reference ids for object ID 
 
static _goto(string $target)
 
static _lookupObjId(int $ref_id)
 
ilObjStudyProgrammeReferenceGUI: ilPermissionGUI, ilInfoScreenGUI, ilPropertyFormGUI ...
 
static _lookupSourceIds(int $a_target_id)
Get ids of all container references that target the object with the given id. 
 
form( $class_path, string $cmd, string $submit_caption="")
 
static _lookupTargetRefId(int $a_obj_id)
 
__construct( $data, int $id, bool $call_by_reference=true, bool $prepare_output=false)
 
putObjectInTree(ilObject $obj, $parent_node_id=null)
 
static _lookupType(int $id, bool $reference=false)
 
tryingToCreateCircularReference(int $obj_to_be_referenced, int $reference_position)