ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilWebLinkItemExternal.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
26{
27 public function isInternal(): bool
28 {
29 return false;
30 }
31
32 public function getResolvedLink(bool $with_parameters = true): string
33 {
34 $link = $this->getTarget();
35
36 if (!$with_parameters) {
37 return $link;
38 }
39
40 foreach ($this->getParameters() as $parameter) {
41 $link = $parameter->appendToLink($link);
42 }
43
44 return $link;
45 }
46}
Immutable class for external Web Link items.
getResolvedLink(bool $with_parameters=true)
Immutable class for Web Link items.