ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
+
Files
File List
+
Globals
+
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
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
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
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
DefaultRendererFactoryTest.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 2017 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
5
use
PHPUnit\Framework\TestCase
;
6
7
class
DefaultRendererFactoryForTest
extends
\ILIAS\UI\Implementation\Render\DefaultRendererFactory
8
{
9
public
function
__construct
()
10
{
11
}
12
13
public
function
_getRendererNameFor
($component)
14
{
15
return
$this->
getRendererNameFor
($component);
16
}
17
}
18
19
class
DefaultRendererFactoryTest
extends
TestCase
20
{
21
public
function
test_getRendererNameFor
()
22
{
23
$f
=
new
DefaultRendererFactoryForTest
;
24
25
$renderer_class =
$f
->_getRendererNameFor(
new
\
ILIAS
\
UI
\Implementation\
Component
\Symbol\Glyph\Glyph(
"up"
,
"up"
));
26
$expected = \ILIAS\UI\Implementation\Component\Symbol\Glyph\Renderer::class;
27
$this->assertEquals($expected, $renderer_class);
28
}
29
}
UI
Class Factory.
ILIAS
Class ChatMainBarProvider .
ILIAS\UI\Component
DefaultRendererFactoryTest
Definition:
DefaultRendererFactoryTest.php:19
DefaultRendererFactoryForTest\__construct
__construct()
Definition:
DefaultRendererFactoryTest.php:9
ILIAS\UI\Implementation\Render\DefaultRendererFactory\getRendererNameFor
getRendererNameFor(Component $component)
Get the name for the renderer of Component class.
Definition:
DefaultRendererFactory.php:82
Vendor\Package\$f
$f
Definition:
example_cleaned.php:31
DefaultRendererFactoryTest\test_getRendererNameFor
test_getRendererNameFor()
Definition:
DefaultRendererFactoryTest.php:21
DefaultRendererFactoryForTest
Definition:
DefaultRendererFactoryTest.php:7
DefaultRendererFactoryForTest\_getRendererNameFor
_getRendererNameFor($component)
Definition:
DefaultRendererFactoryTest.php:13
ILIAS\UI\Implementation\Render\DefaultRendererFactory
Definition:
DefaultRendererFactory.php:11
TestCase
tests
UI
Renderer
DefaultRendererFactoryTest.php
Generated on Thu Apr 3 2025 21:01:40 for ILIAS by
1.8.13 (using
Doxyfile
)