ILIAS  release_8 Revision v8.23
ilWebLinkItemExternal Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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(), ilWebLinkBaseItem\getTarget(), ilWebLinkBaseParameter\SESSION_ID_NAME, and ilWebLinkBaseParameter\VALUES.

32  : string
33  {
34  $link = $this->getTarget();
35 
36  if (!$with_parameters) {
37  return $link;
38  }
39 
40  foreach ($this->getParameters() as $parameter) {
42  continue;
43  }
44  $link = $parameter->appendToLink($link);
45  }
46 
47  return $link;
48  }
const VALUES
TODO Once the GUI is updated, undefined can be dropped.
+ 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: