4 define(
'IL_INTERNAL_LINK_SCRIPT',
'goto.php');
17 public static function _getLink($a_ref_id,$a_type =
'',$a_params = array(), $append =
"")
19 global $ilObjDataCache;
23 $a_type = $ilObjDataCache->lookupType($ilObjDataCache->lookupObjId($a_ref_id));
28 foreach($a_params as
$name => $value)
30 $param_string .= (
'&'.$name.
'='.$value);
44 return ILIAS_HTTP_PATH.
'/'.
IL_INTERNAL_LINK_SCRIPT.
'?target='.$a_type.
'_'.$a_ref_id.$append.
'&client_id='.CLIENT_ID.$param_string;
59 public static function _getStaticLink($a_ref_id,$a_type =
'',$a_fallback_goto =
true,
62 global $ilObjDataCache;
66 $a_type = $ilObjDataCache->lookupType($ilObjDataCache->lookupObjId($a_ref_id));
69 include_once(
'Services/PrivacySecurity/classes/class.ilRobotSettings.php');
71 if(!$robot_settings->robotSupportEnabled())
83 return ILIAS_HTTP_PATH.
'/goto_'.urlencode(CLIENT_ID).
'_'.$a_type.
'_'.$a_ref_id.urlencode($append).
'.html';