ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
Panel.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Panel
;
22
23
use
ILIAS\UI\Component
as
C
;
24
use
ILIAS\UI\Implementation\Component\ComponentHelper
;
25
use
ILIAS\UI\Component\Component
;
26
31
class
Panel
implements
C\Panel\Panel
32
{
33
use
ComponentHelper
;
34
38
private
$content
;
39
protected
string
$title
;
40
protected
?C\Dropdown\Standard
$actions
=
null
;
41
45
public
function
__construct
(
string
$title,
$content
)
46
{
47
$content
= $this->toArray(
$content
);
48
$types = [Component::class];
49
$this->checkArgListElements(
"content"
,
$content
, $types);
50
51
$this->title =
$title
;
52
$this->content =
$content
;
53
}
54
58
public
function
getTitle
(): string
59
{
60
return
$this->title
;
61
}
62
66
public
function
getContent
()
67
{
68
return
$this->content
;
69
}
70
74
public
function
withActions
(
C
\Dropdown\
Standard
$actions):
C
\
Panel
\
Panel
75
{
76
$clone = clone $this;
77
$clone->actions =
$actions
;
78
return
$clone;
79
}
80
84
public
function
getActions
(): ?
C
\Dropdown\
Standard
85
{
86
return
$this->actions
;
87
}
88
}
ILIAS\UI\Implementation\Component\Panel\Panel\withActions
withActions(C\Dropdown\Standard $actions)
Definition:
Panel.php:74
ILIAS\UI\Implementation\Component\Panel
Definition:
Factory.php:21
ILIAS\UI\Implementation\Component\Panel\Panel\__construct
__construct(string $title, $content)
Definition:
Panel.php:45
ILIAS\UI\Implementation\Component\Panel\Panel\getTitle
getTitle()
Definition:
Panel.php:58
ILIAS\UI\Component
Component
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\UI\Implementation\Component\Panel\Panel\getActions
getActions()
Definition:
Panel.php:84
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:142
ILIAS\UI\Implementation\Component\Panel\Panel\$actions
C Dropdown Standard $actions
Definition:
Panel.php:40
ILIAS\UI\Implementation\Component\Panel\Panel\$title
string $title
Definition:
Panel.php:39
ILIAS\UI\Implementation\Component\Panel\Panel
Definition:
Panel.php:31
ILIAS\UI\Implementation\Component\Panel\Panel\$content
$content
Definition:
Panel.php:38
ComponentHelper
ILIAS\UI\Implementation\Component\Panel\Panel\getContent
getContent()
Definition:
Panel.php:66
ILIAS\Data\LanguageTag\Standard
Definition:
Standard.php:25
ComponentHelper
components
ILIAS
UI
src
Implementation
Component
Panel
Panel.php
Generated on Sat Apr 5 2025 23:04:24 for ILIAS by
1.8.13 (using
Doxyfile
)