ILIAS  release_8 Revision v8.23
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 12 of file Link.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 17 of file Link.php.

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

18  {
19  $this->label = $label;
20  $this->url = $url;
21  }

Member Function Documentation

◆ getLabel()

ILIAS\Data\Link::getLabel ( )

Definition at line 23 of file Link.php.

References ILIAS\Data\Link\$label.

Referenced by DataLinkTest\testValues().

23  : string
24  {
25  return $this->label;
26  }
+ Here is the caller graph for this function:

◆ getURL()

ILIAS\Data\Link::getURL ( )

Definition at line 28 of file Link.php.

References ILIAS\Data\Link\$url.

28  : URI
29  {
30  return $this->url;
31  }

Field Documentation

◆ $label

◆ $url


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