ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
Link.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Data
;
22
28
class
Link
29
{
30
protected
string
$label
;
31
protected
URI
$url
;
32
33
public
function
__construct
(
string
$label,
URI
$url)
34
{
35
$this->label =
$label
;
36
$this->url =
$url
;
37
}
38
39
public
function
getLabel
(): string
40
{
41
return
$this->label
;
42
}
43
44
public
function
getURL
():
URI
45
{
46
return
$this->url
;
47
}
48
}
ILIAS\Data\Link\$url
URI $url
Definition:
Link.php:31
Standard
ILIAS\Data\Link\getLabel
getLabel()
Definition:
Link.php:39
ILIAS\Data\Link\$label
string $label
Definition:
Link.php:30
ILIAS\Data\Link\getURL
getURL()
Definition:
Link.php:44
ILIAS\Data\URI
ILIAS\Data\Link\__construct
__construct(string $label, URI $url)
Definition:
Link.php:33
ILIAS\Data
Definition:
Alphanumeric.php:24
components
ILIAS
Data
src
Link.php
Generated on Mon Sep 1 2025 23:02:52 for ILIAS by
1.8.13 (using
Doxyfile
)