7 public static function _getLinkTarget($gui,
$cmd, $gui_params = array(), $mail_params = array())
10 foreach($mail_params as $key => $value)
12 $mparams .=
'&'.$key.
'='.$value;
19 foreach($gui_params as $key => $value)
21 $ilCtrlTmp->setParameter($gui, $key, $value);
23 $referer = $ilCtrlTmp->getLinkTarget($gui,
$cmd,
'',
false,
false);
25 else if(is_string($gui))
30 $referer =
'&'.self::REFERER_KEY.
'='.rawurlencode(base64_encode($referer));
32 return 'ilias.php?baseClass=ilMailGUI'.$mparams.$referer;
38 foreach($mail_params as $key => $value)
40 $mparams .=
'&'.$key.
'='.$value;
47 foreach($gui_params as $key => $value)
49 $ilCtrlTmp->setParameter($gui, $key, $value);
51 $referer = $ilCtrlTmp->getLinkTarget($gui,
$cmd,
'',
false,
false);
53 else if(is_string($gui))
58 $referer =
'&'.self::REFERER_KEY.
'='.rawurlencode(base64_encode($referer));
60 return 'ilias.php?baseClass=ilMailGUI'.$referer.$mparams;
65 if(isset($request_params[self::REFERER_KEY]))
101 return isset(
$_SESSION[self::REFERER_KEY]) && strlen(
$_SESSION[self::REFERER_KEY]) ?
true :
false;