3 declare(strict_types=1);
51 if (!strpos($link,
'?')) {
56 $link .= ($this->
getName() .
"=");
58 case self::VALUES[
'login']:
60 $this->
user->getLogin()
64 case self::VALUES[
'session_id']:
65 $link .= (session_id());
68 case self::VALUES[
'user_id']:
69 $link .= ($this->
user->getId());
72 case self::VALUES[
'matriculation']:
73 $link .= ($this->
user->getMatriculation());
78 'Invalid parameter value' 90 case self::VALUES[
'user_id']:
91 return $info .
'=USER_ID';
93 case self::VALUES[
'session_id']:
94 return $info .
'=SESSION_ID';
96 case self::VALUES[
'login']:
97 return $info .
'=LOGIN';
99 case self::VALUES[
'matriculation']:
100 return $info .
'=MATRICULATION';
104 'Invalid parameter value' 112 case self::VALUES[
'user_id']:
116 case self::VALUES[
'login']:
120 case self::VALUES[
'matriculation']:
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
toXML(ilXmlWriter $writer)
__construct(ilObjUser $user, int $webr_id, int $link_id, int $param_id, int $value, string $name)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
appendToLink(string $link)
__construct(Container $dic, ilPlugin $plugin)
xmlElement(string $tag, $attrs=null, $data=null, $encode=true, $escape=true)
Writes a basic element (no children, just textual content)