ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Report.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
Report
extends
Panel
implements C\Panel\Report
15
{
16
use
ComponentHelper
;
17
22
public
function
__construct
(
$title
,
$content
)
23
{
24
$types = [C\Panel\Sub::class];
25
$content
= $this->
toArray
(
$content
);
26
$this->
checkArgListElements
(
"content"
,
$content
, $types);
27
28
parent::__construct(
$title
,
$content
);
29
}
30
}
ILIAS\UI\Implementation\Component\Panel
Definition:
Factory.php:5
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\ComponentHelper
trait ComponentHelper
Provides common functionality for component implementations.
Definition:
ComponentHelper.php:11
ILIAS\UI\Implementation\Component\Panel\Report\__construct
__construct($title, $content)
Definition:
Report.php:22
ILIAS\UI\Implementation\Component\checkArgListElements
checkArgListElements($which, array &$values, &$classes)
Check every element of the list if it is an instance of one of the given classes. ...
Definition:
ComponentHelper.php:185
ILIAS\UI\Implementation\Component\Panel\Panel
Definition:
Panel.php:14
ILIAS\UI\Implementation\Component\Panel\Panel\$content
$content
Definition:
Panel.php:26
ILIAS\UI\Implementation\Component\Panel\Report
Definition:
Report.php:14
ILIAS\UI\Implementation\Component\toArray
toArray($value)
Wrap the given value in an array if it is no array.
Definition:
ComponentHelper.php:211
ILIAS\UI\Implementation\Component\Panel\Panel\$title
$title
Definition:
Panel.php:21
src
UI
Implementation
Component
Panel
Report.php
Generated on Sat Jan 18 2025 19:01:43 for ILIAS by
1.8.13 (using
Doxyfile
)