ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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)

Reimplemented from ilWebLinkItem.

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

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 }

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

+ Here is the call graph for this function:

◆ isInternal()

ilWebLinkItemExternal::isInternal ( )

Reimplemented from ilWebLinkItem.

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: