ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
Panel.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 2016 Timon Amstutz <timon.amstutz@ilub.unibe.ch> Extended GPL, see docs/LICENSE */
4
5
namespace
ILIAS\UI\Implementation\Component\Panel
;
6
7
use
ILIAS\UI\Component
as
C
;
8
use
ILIAS\UI\Implementation\Component\ComponentHelper
;
9
14
class
Panel
implements
C\Panel\Panel {
15
use
ComponentHelper
;
16
20
protected
$title
;
21
25
private
$content
;
26
27
32
public
function
__construct
(
$title
,
$content
) {
33
$this->checkStringArg(
"title"
,
$title
);
34
$content
= $this->toArray(
$content
);
35
$types = [C\Component::class];
36
$this->checkArgListElements(
"content"
,
$content
, $types);
37
38
$this->title =
$title
;
39
$this->content =
$content
;
40
}
41
45
public
function
getTitle
() {
46
return
$this->title
;
47
}
48
52
public
function
getContent
() {
53
return
$this->content
;
54
}
55
}
56
?>
ILIAS\UI\Implementation\Component\Panel
Definition:
Factory.php:5
ILIAS\UI\Implementation\Component\Panel\Panel\getTitle
getTitle()
Definition:
Panel.php:45
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\Panel\Panel
Definition:
Panel.php:14
ILIAS\UI\Implementation\Component\Panel\Panel\$content
$content
Definition:
Panel.php:25
ILIAS\UI\Implementation\Component\Panel\Panel\__construct
__construct($title, $content)
Definition:
Panel.php:32
ComponentHelper
ILIAS\UI\Implementation\Component\Panel\Panel\getContent
getContent()
Definition:
Panel.php:52
php
ComponentHelper
ILIAS\UI\Implementation\Component\Panel\Panel\$title
$title
Definition:
Panel.php:20
src
UI
Implementation
Component
Panel
Panel.php
Generated on Fri Feb 21 2025 19:01:22 for ILIAS by
1.8.13 (using
Doxyfile
)