ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ilWebLinkItemExternal Class Reference

Immutable class for external Web Link items. More...

+ Inheritance diagram for ilWebLinkItemExternal:
+ Collaboration diagram for ilWebLinkItemExternal:

Public Member Functions

 isInternal ()
 
 getResolvedLink (bool $with_parameters=true)
 
- Public Member Functions inherited from ilWebLinkItem
 __construct (int $webr_id, int $link_id, string $title, ?string $description, string $target, bool $active, DateTimeImmutable $create_date, DateTimeImmutable $last_update, array $parameters)
 
 getResolvedLink (bool $with_parameters=true)
 
 isInternal ()
 
 toXML (ilXmlWriter $writer, int $position)
 
 getWebrId ()
 
 getLinkId ()
 
 getCreateDate ()
 
 getLastUpdate ()
 
 getParameters ()
 
- Public Member Functions inherited from ilWebLinkBaseItem
 __construct (string $title, ?string $description, string $target, bool $active, array $parameters)
 
 isInternal ()
 
 getTitle ()
 
 getDescription ()
 
 getTarget ()
 
 isActive ()
 
 getParameters ()
 

Additional Inherited Members

- Protected Attributes inherited from ilWebLinkItem
int $webr_id
 
int $link_id
 
DateTimeImmutable $create_date
 
DateTimeImmutable $last_update
 
array $parameters
 
- Protected Attributes inherited from ilWebLinkBaseItem
string $title
 
string $target
 
bool $active
 
array $parameters
 
string $description
 

Detailed Description

Immutable class for external Web Link items.

Author
Tim Schmitz schmi.nosp@m.tz@l.nosp@m.eifos.nosp@m..de

Definition at line 25 of file class.ilWebLinkItemExternal.php.

Member Function Documentation

◆ getResolvedLink()

ilWebLinkItemExternal::getResolvedLink ( bool  $with_parameters = true)

Definition at line 32 of file class.ilWebLinkItemExternal.php.

References ilWebLinkItem\getParameters(), and ilWebLinkBaseItem\getTarget().

32  : 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  }
+ Here is the call graph for this function:

◆ isInternal()

ilWebLinkItemExternal::isInternal ( )

Definition at line 27 of file class.ilWebLinkItemExternal.php.

27  : bool
28  {
29  return false;
30  }

The documentation for this class was generated from the following file: