ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Horizontal.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 2017 Alex Killing <killing@leifos.de> Extended GPL, see docs/LICENSE */
4
5
namespace
ILIAS\UI\Implementation\Component\Divider
;
6
7
use
ILIAS\UI\Component
as
C
;
8
use
ILIAS\UI\Implementation\Component\ComponentHelper
;
9
13
class
Horizontal
implements
C\Divider\Horizontal
14
{
15
use
ComponentHelper
;
16
20
protected
$label
;
21
22
public
function
__construct
()
23
{
24
}
25
29
public
function
getLabel
()
30
{
31
return
$this->label
;
32
}
33
37
public
function
withLabel
(
$label
)
38
{
39
$this->
checkStringArg
(
"label"
,
$label
);
40
$clone = clone $this;
41
$clone->label =
$label
;
42
return
$clone;
43
}
44
}
ILIAS\UI\Implementation\Component\Divider\Horizontal\$label
$label
Definition:
Horizontal.php:20
ILIAS\UI\Implementation\Component\Divider\Horizontal\getLabel
getLabel()
Definition:
Horizontal.php:29
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\ComponentHelper
trait ComponentHelper
Provides common functionality for component implementations.
Definition:
ComponentHelper.php:11
ILIAS\UI\Implementation\Component\checkStringArg
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
Definition:
ComponentHelper.php:90
ILIAS\UI\Implementation\Component\Divider\Horizontal\withLabel
withLabel($label)
Definition:
Horizontal.php:37
ILIAS\UI\Implementation\Component\Divider\Horizontal
Horizontal Divider.
Definition:
Horizontal.php:13
ILIAS\UI\Implementation\Component\Divider
Definition:
Factory.php:5
ILIAS\UI\Implementation\Component\Divider\Horizontal\__construct
__construct()
Definition:
Horizontal.php:22
src
UI
Implementation
Component
Divider
Horizontal.php
Generated on Sat Jan 18 2025 19:01:43 for ILIAS by
1.8.13 (using
Doxyfile
)