ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Data\Link Class Reference

A Link is the often used combination of a label and an URL. More...

+ Collaboration diagram for ILIAS\Data\Link:

Public Member Functions

 __construct (string $label, URI $url)
 
 getLabel ()
 
 getURL ()
 

Protected Attributes

string $label
 
URI $url
 

Detailed Description

A Link is the often used combination of a label and an URL.

Author
Nils Haagen nils..nosp@m.haag.nosp@m.en@co.nosp@m.ncep.nosp@m.ts-an.nosp@m.d-tr.nosp@m.ainin.nosp@m.g.de

Definition at line 28 of file Link.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Data\Link::__construct ( string  $label,
URI  $url 
)

Definition at line 33 of file Link.php.

References ILIAS\Data\Link\$label, and ILIAS\Data\Link\$url.

34  {
35  $this->label = $label;
36  $this->url = $url;
37  }

Member Function Documentation

◆ getLabel()

ILIAS\Data\Link::getLabel ( )

Definition at line 39 of file Link.php.

References ILIAS\Data\Link\$label.

Referenced by ILIAS\UI\Implementation\Component\Launcher\Inline\__construct(), and DataLinkTest\testValues().

39  : string
40  {
41  return $this->label;
42  }
+ Here is the caller graph for this function:

◆ getURL()

ILIAS\Data\Link::getURL ( )

Definition at line 44 of file Link.php.

References ILIAS\Data\Link\$url.

44  : URI
45  {
46  return $this->url;
47  }

Field Documentation

◆ $label

string ILIAS\Data\Link::$label
protected

Definition at line 30 of file Link.php.

Referenced by ILIAS\Data\Link\__construct(), and ILIAS\Data\Link\getLabel().

◆ $url

URI ILIAS\Data\Link::$url
protected

Definition at line 31 of file Link.php.

Referenced by ILIAS\Data\Link\__construct(), and ILIAS\Data\Link\getURL().


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