30 public static function _getLink(
40 $ilObjDataCache = $DIC[
"ilObjDataCache"];
42 if ($a_type ===
'' && $a_ref_id) {
43 $a_type = $ilObjDataCache->lookupType($ilObjDataCache->lookupObjId($a_ref_id));
46 $target = urlencode(
CLIENT_ID) .
'_' . $a_type .
'_' . $a_ref_id . urlencode($append);
48 $a_params = array_merge($a_params, [$append]);
49 $a_params = array_filter($a_params,
static function ($value):
bool {
53 if (!empty($a_type)) {
56 $a_ref_id !== null ?
new ReferenceId($a_ref_id) : null,
69 bool $a_fallback_goto =
true,
72 return self::_getLink($a_ref_id, $a_type, [], $append);
static _getStaticLink(?int $a_ref_id, string $a_type='', bool $a_fallback_goto=true, string $append="")
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...