ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
Factory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Legacy
;
22
23
use
ILIAS\UI\Implementation\Component\SignalGeneratorInterface
;
24
use
ILIAS\UI\Component
as
C
;
25
use
ILIAS\UI\Implementation\Component
as
I
;
26
27
class
Factory
implements
C\Legacy\Factory
28
{
29
protected
SignalGeneratorInterface
$signal_generator
;
30
31
public
function
__construct
(
SignalGeneratorInterface
$signal_generator)
32
{
33
$this->signal_generator =
$signal_generator
;
34
}
35
36
public
function
content
(
string
$content):
Content
37
{
38
return
new
Content
($content, $this->signal_generator);
39
}
40
41
public
function
latexContent
(
string
$content):
LatexContent
42
{
43
return
new
LatexContent
($content, $this->signal_generator);
44
}
45
46
public
function
segment
(
string
$title,
string
$content):
I
\Legacy\
Segment
47
{
48
return
new
Segment
($title, $content);
49
}
50
}
ILIAS\UI\Implementation\Component\Legacy\Factory\__construct
__construct(SignalGeneratorInterface $signal_generator)
Definition:
Factory.php:31
ILIAS\UI\Implementation\Component
ILIAS\UI\Implementation\Component\Legacy\Factory\latexContent
latexContent(string $content)
Definition:
Factory.php:41
ILIAS\UI\Implementation
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\Legacy\Content
Definition:
Content.php:34
ILIAS\Data\Color\Factory
Builds a Color from either hex- or rgb values.
Definition:
Factory.php:30
ILIAS\UI\Implementation\Component\Legacy\LatexContent
Definition:
LatexContent.php:25
ILIAS\UI\Implementation\Component\Legacy\Factory\segment
segment(string $title, string $content)
Definition:
Factory.php:46
ILIAS\UI\Implementation\Component\SignalGeneratorInterface
Definition:
SignalGeneratorInterface.php:28
ILIAS\UI\Implementation\Component\Legacy\Factory\$signal_generator
SignalGeneratorInterface $signal_generator
Definition:
Factory.php:29
SignalGeneratorInterface
ILIAS\UI\Implementation\Component\Legacy\Segment
Definition:
Segment.php:28
ILIAS\UI\Implementation\Component\Legacy\Factory\content
content(string $content)
Definition:
Factory.php:36
ILIAS\UI\Implementation\Component\Legacy
Definition:
Content.php:21
components
ILIAS
UI
src
Implementation
Component
Legacy
Factory.php
Generated on Mon Sep 1 2025 23:02:08 for ILIAS by
1.8.13 (using
Doxyfile
)