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);
43 return ILIAS_HTTP_PATH.
'/'.
IL_INTERNAL_LINK_SCRIPT.
'?target='.$a_type.
'_'.$a_ref_id.$append.
'&client_id='.CLIENT_ID.$param_string;
58 public static function _getStaticLink($a_ref_id,$a_type =
'',$a_fallback_goto =
true,
61 global $ilObjDataCache;
65 $a_type = $ilObjDataCache->lookupType($ilObjDataCache->lookupObjId($a_ref_id));
68 include_once(
'Services/PrivacySecurity/classes/class.ilRobotSettings.php');
70 if(!$robot_settings->robotSupportEnabled())
83 return ILIAS_HTTP_PATH.
'/goto_'.urlencode(CLIENT_ID).
'_'.$a_type.
'_'.$a_ref_id.urlencode($append).
'.html';