ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
s
t
w
+
Functions
_
a
b
c
f
g
h
i
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
GlyphRendererFactory.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 2017 Nils Haagen <nils.haagen@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
5
namespace
ILIAS\UI\Implementation\Component\Symbol\Glyph
;
6
7
use
ILIAS\UI\Implementation\Render
;
8
use
ILIAS\UI\Component
;
9
10
class
GlyphRendererFactory
extends
Render\DefaultRendererFactory
11
{
12
const
USE_BUTTON_CONTEXT_FOR
= [
13
'BulkyButton'
,
14
'BulkyLink'
15
];
16
17
public
function
getRendererInContext
(
Component
\
Component
$component, array $contexts)
18
{
19
if
(count(array_intersect(self::USE_BUTTON_CONTEXT_FOR, $contexts)) > 0) {
20
return
new
ButtonContextRenderer
(
21
$this->ui_factory,
22
$this->tpl_factory,
23
$this->lng,
24
$this->js_binding,
25
$this->refinery
26
);
27
}
28
return
new
Renderer
(
29
$this->ui_factory,
30
$this->tpl_factory,
31
$this->lng,
32
$this->js_binding,
33
$this->refinery
34
);
35
}
36
}
ILIAS\UI\Implementation\Component\Symbol\Glyph\Renderer
Definition:
Renderer.php:11
ILIAS\UI\Implementation\Component\Symbol\Glyph\GlyphRendererFactory
Definition:
GlyphRendererFactory.php:10
ILIAS\UI\Component
ILIAS\UI\Implementation\Render
Definition:
AbstractComponentRenderer.php:5
ILIAS\UI\Implementation\Component\Symbol\Glyph\ButtonContextRenderer
Definition:
ButtonContextRenderer.php:7
ILIAS\UI\Implementation\Component\Symbol\Glyph
Definition:
ButtonContextRenderer.php:5
ILIAS\UI\Implementation\Component\Symbol\Glyph\GlyphRendererFactory\USE_BUTTON_CONTEXT_FOR
const USE_BUTTON_CONTEXT_FOR
Definition:
GlyphRendererFactory.php:12
ILIAS\UI\Implementation\Component\Symbol\Glyph\GlyphRendererFactory\getRendererInContext
getRendererInContext(Component\Component $component, array $contexts)
Definition:
GlyphRendererFactory.php:17
ILIAS\UI\Implementation\Render\DefaultRendererFactory
Definition:
DefaultRendererFactory.php:11
src
UI
Implementation
Component
Symbol
Glyph
GlyphRendererFactory.php
Generated on Tue Apr 8 2025 20:01:35 for ILIAS by
1.8.13 (using
Doxyfile
)