ILIAS  release_8 Revision v8.24
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.

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

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

Member Function Documentation

◆ getLabel()

ILIAS\Data\Link::getLabel ( )

Definition at line 23 of file Link.php.

23 : string
24 {
25 return $this->label;
26 }

References ILIAS\Data\Link\$label.

Referenced by DataLinkTest\testValues().

+ Here is the caller graph for this function:

◆ getURL()

ILIAS\Data\Link::getURL ( )

Definition at line 28 of file Link.php.

28 : URI
29 {
30 return $this->url;
31 }
The scope of this class is split ilias-conform URI's into components.
Definition: URI.php:35

References ILIAS\Data\Link\$url.

Field Documentation

◆ $label

◆ $url


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