ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Legacy.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\Legacy
;
6
7
use
ILIAS\UI\Component
as
C
;
8
use
ILIAS\UI\Implementation\Component\ComponentHelper
;
9
14
class
Legacy
implements
C\Legacy\Legacy
15
{
16
use
ComponentHelper
;
17
21
private
$content
;
22
23
28
public
function
__construct
(
$content
)
29
{
30
$this->
checkStringArg
(
"content"
,
$content
);
31
32
$this->content =
$content
;
33
}
34
38
public
function
getContent
()
39
{
40
return
$this->content
;
41
}
42
}
ILIAS\UI\Implementation\Component\Legacy\Legacy\$content
$content
Definition:
Legacy.php:21
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\Legacy\Legacy\__construct
__construct($content)
Legacy constructor.
Definition:
Legacy.php:28
ILIAS\UI\Implementation\Component\Legacy\Legacy
Definition:
Legacy.php:14
ILIAS\UI\Implementation\Component\Legacy\Legacy\getContent
getContent()
Definition:
Legacy.php:38
ILIAS\UI\Implementation\Component\Legacy
Definition:
Legacy.php:5
src
UI
Implementation
Component
Legacy
Legacy.php
Generated on Tue Jan 28 2025 19:01:03 for ILIAS by
1.8.13 (using
Doxyfile
)