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
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
public
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
$this->image_path_resolver
27
);
28
}
29
return
new
Renderer
(
30
$this->ui_factory,
31
$this->tpl_factory,
32
$this->lng,
33
$this->js_binding,
34
$this->refinery,
35
$this->image_path_resolver
36
);
37
}
38
}
ILIAS\UI\Implementation\Component\Symbol\Glyph\Renderer
Definition:
Renderer.php:12
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:10
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 22 2025 21:01:30 for ILIAS by
1.8.13 (using
Doxyfile
)