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

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

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

Member Function Documentation

◆ getLabel()

ILIAS\Data\Link::getLabel ( )

Definition at line 39 of file Link.php.

39 : string
40 {
41 return $this->label;
42 }

References ILIAS\Data\Link\$label.

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

+ Here is the caller graph for this function:

◆ getURL()

ILIAS\Data\Link::getURL ( )

Definition at line 44 of file Link.php.

44 : URI
45 {
46 return $this->url;
47 }
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: