27 public static function _getLink(
37 $ilObjDataCache = $DIC[
"ilObjDataCache"];
39 if ($a_type ===
'' && $a_ref_id) {
40 $a_type = $ilObjDataCache->lookupType($ilObjDataCache->lookupObjId($a_ref_id));
43 $target = urlencode(
CLIENT_ID) .
'_' . $a_type .
'_' . $a_ref_id . urlencode($append);
45 $a_params = array_merge($a_params, [$append]);
46 $a_params = array_filter($a_params,
static function ($value):
bool {
50 if (!empty($a_type)) {
67 bool $a_fallback_goto =
true,
70 return self::_getLink($a_ref_id, $a_type, [], $append);
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static _getStaticLink(?int $a_ref_id, string $a_type='', bool $a_fallback_goto=true, string $append="")