ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilWebLinkItemExternal.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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.