4define(
'IL_INTERNAL_LINK_SCRIPT', 
'goto.php');
 
   17    public static function _getLink($a_ref_id, $a_type = 
'', $a_params = array(), $append = 
"")
 
   21        $ilObjDataCache = 
$DIC[
"ilObjDataCache"];
 
   23        if (!strlen($a_type)) {
 
   24            $a_type = $ilObjDataCache->lookupType($ilObjDataCache->lookupObjId($a_ref_id));
 
   27        if (is_array($a_params) && count($a_params)) {
 
   28            foreach ($a_params as 
$name => $value) {
 
   29                $param_string .= (
'&' . 
$name . 
'=' . $value);
 
   33          $append . 
'&client_id=' . 
CLIENT_ID . $param_string;
 
   50        $a_fallback_goto = 
true,
 
   55        $ilObjDataCache = 
$DIC[
"ilObjDataCache"];
 
   57        if (!strlen($a_type)) {
 
   58            $a_type = $ilObjDataCache->lookupType($ilObjDataCache->lookupObjId($a_ref_id));
 
   61        include_once(
'Services/PrivacySecurity/classes/class.ilRobotSettings.php');
 
   63        if (!$robot_settings->robotSupportEnabled()) {
 
   64            if ($a_fallback_goto) {
 
   72        return ILIAS_HTTP_PATH . 
'/goto_' . urlencode(
CLIENT_ID) . 
'_' . $a_type . 
'_' . $a_ref_id . urlencode($append) . 
'.html';
 
An exception for terminatinating execution or to throw for unit testing.
const IL_INTERNAL_LINK_SCRIPT
Class for creating internal links on e.g repostory items.
static _getLink($a_ref_id, $a_type='', $a_params=array(), $append="")
static _getStaticLink( $a_ref_id, $a_type='', $a_fallback_goto=true, $append="")
Get static link.
static _getInstance()
Get instance.