24 define(
'IL_INTERNAL_LINK_SCRIPT',
'goto.php');
37 public function _getLink($a_ref_id,$a_type =
'',$a_params = array(), $append =
"")
39 global $ilObjDataCache;
43 $a_type = $ilObjDataCache->lookupType($ilObjDataCache->lookupObjId($a_ref_id));
48 foreach($a_params as $name => $value)
50 $param_string =
'&'.$name.
'='.$value;
63 return ILIAS_HTTP_PATH.
'/'.
IL_INTERNAL_LINK_SCRIPT.
'?target='.$a_type.
'_'.$a_ref_id.$append.
'&client_id='.CLIENT_ID.$param_string;
78 public static function _getStaticLink($a_ref_id,$a_type =
'',$a_fallback_goto =
true,
81 global $ilObjDataCache;
85 $a_type = $ilObjDataCache->lookupType($ilObjDataCache->lookupObjId($a_ref_id));
88 include_once(
'Services/PrivacySecurity/classes/class.ilRobotSettings.php');
90 if(!$robot_settings->robotSupportEnabled())
103 return ILIAS_HTTP_PATH.
'/goto_'.urlencode(CLIENT_ID).
'_'.$a_type.
'_'.$a_ref_id.urlencode($append).
'.html';