ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
Link.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\Data
;
6
12
class
Link
13
{
14
protected
string
$label
;
15
protected
URI
$url
;
16
17
public
function
__construct
(
string
$label,
URI
$url)
18
{
19
$this->label =
$label
;
20
$this->url =
$url
;
21
}
22
23
public
function
getLabel
(): string
24
{
25
return
$this->label
;
26
}
27
28
public
function
getURL
():
URI
29
{
30
return
$this->url
;
31
}
32
}
ILIAS\Data\Link
A Link is the often used combination of a label and an URL.
Definition:
Link.php:12
ILIAS\Data\Link\$url
URI $url
Definition:
Link.php:15
ILIAS\Data\URI
The scope of this class is split ilias-conform URI's into components.
Definition:
URI.php:34
ILIAS\Data\Link\getLabel
getLabel()
Definition:
Link.php:23
ILIAS\Data\Link\$label
string $label
Definition:
Link.php:14
ILIAS\Data\Link\getURL
getURL()
Definition:
Link.php:28
ILIAS\Data\Link\__construct
__construct(string $label, URI $url)
Definition:
Link.php:17
ILIAS\Data
Definition:
Alphanumeric.php:11
src
Data
Link.php
Generated on Sun Apr 6 2025 22:02:57 for ILIAS by
1.8.13 (using
Doxyfile
)