ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
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\Glyph
;
6
7
use
ILIAS\UI\Implementation\Render
;
8
use
ILIAS\UI\Component
;
9
10
class
GlyphRendererFactory
extends
Render\DefaultRendererFactory
11
{
12
public
function
getRendererInContext
(
Component
\
Component
$component, array $contexts)
13
{
14
if
(in_array(
'BulkyButton'
, $contexts)) {
15
return
new
ButtonContextRenderer
($this->ui_factory, $this->tpl_factory, $this->lng, $this->js_binding);
16
}
17
return
new
Renderer
($this->ui_factory, $this->tpl_factory, $this->lng, $this->js_binding);
18
}
19
}
ILIAS\UI\Implementation\Component\Glyph\GlyphRendererFactory\getRendererInContext
getRendererInContext(Component\Component $component, array $contexts)
Definition:
GlyphRendererFactory.php:12
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\Glyph\ButtonContextRenderer
Definition:
ButtonContextRenderer.php:7
ILIAS\UI\Implementation\Component\Glyph
Definition:
ButtonContextRenderer.php:5
ILIAS\UI\Implementation\Render
Definition:
AbstractComponentRenderer.php:5
ILIAS\UI\Implementation\Component\Glyph\Renderer
Definition:
Renderer.php:11
ILIAS\UI\Implementation\Component\Glyph\GlyphRendererFactory
Definition:
GlyphRendererFactory.php:10
php
ILIAS\UI\Implementation\Render\DefaultRendererFactory
Definition:
DefaultRendererFactory.php:10
src
UI
Implementation
Component
Glyph
GlyphRendererFactory.php
Generated on Thu Jan 30 2025 19:02:12 for ILIAS by
1.8.13 (using
Doxyfile
)