ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Standard.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 2017 Alexander Killing <killing@leifos.de> Extended GPL, see docs/LICENSE */
4
5
namespace
ILIAS\UI\Implementation\Component\Link
;
6
7
use
ILIAS\UI\Component
as
C
;
8
9
class
Standard
extends
Link
implements C\Link\Standard
10
{
11
15
protected
$label
;
16
22
public
function
__construct
(
$label
,
$action
)
23
{
24
parent::__construct(
$action
);
25
$this->
checkStringArg
(
"label"
,
$label
);
26
$this->label =
$label
;
27
}
28
32
public
function
getLabel
()
33
{
34
return
$this->label
;
35
}
36
}
ILIAS\UI\Implementation\Component\Link
Definition:
Factory.php:5
ILIAS\UI\Implementation\Component\Link\Standard
Definition:
Standard.php:9
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\Link\Standard\$label
$label
Definition:
Standard.php:15
ILIAS\UI\Implementation\Component\checkStringArg
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
Definition:
ComponentHelper.php:90
ILIAS\UI\Implementation\Component\Link\Link
This implements commonalities between Links.
Definition:
Link.php:13
ILIAS\UI\Implementation\Component\Link\Standard\getLabel
getLabel()
Definition:
Standard.php:32
ILIAS\UI\Implementation\Component\Link\Link\$action
$action
Definition:
Link.php:20
ILIAS\UI\Implementation\Component\Link\Standard\__construct
__construct($label, $action)
Standard constructor.
Definition:
Standard.php:22
src
UI
Implementation
Component
Link
Standard.php
Generated on Tue Jan 28 2025 19:01:46 for ILIAS by
1.8.13 (using
Doxyfile
)