ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
ilTemplateWrapperFactory.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 2016 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
5
namespace
ILIAS\UI\Implementation\Render
;
6
10
class
ilTemplateWrapperFactory
implements
TemplateFactory
11
{
15
protected
$global_tpl
;
16
17
public
function
__construct
(\
ilGlobalTemplateInterface
$global_tpl
)
18
{
19
$this->global_tpl =
$global_tpl
;
20
}
21
25
public
function
getTemplate
($path, $purge_unfilled_vars, $purge_unused_blocks)
26
{
27
$tpl
= new \ilTemplate($path, $purge_unfilled_vars, $purge_unused_blocks);
28
return
new
ilTemplateWrapper
($this->global_tpl,
$tpl
);
29
}
30
}
$tpl
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
Definition:
imagemanager.php:90
ILIAS\UI\Implementation\Render\ilTemplateWrapperFactory\$global_tpl
$global_tpl
Definition:
ilTemplateWrapperFactory.php:15
ILIAS\UI\Implementation\Render
Definition:
AbstractComponentRenderer.php:5
ILIAS\UI\Implementation\Render\ilTemplateWrapperFactory
Factory for wrapped ilTemplates.
Definition:
ilTemplateWrapperFactory.php:10
ilGlobalTemplateInterface
Created by PhpStorm.
Definition:
interface.ilGlobalTemplateInterface.php:16
ILIAS\UI\Implementation\Render\ilTemplateWrapperFactory\getTemplate
getTemplate($path, $purge_unfilled_vars, $purge_unused_blocks)
Definition:
ilTemplateWrapperFactory.php:25
ILIAS\UI\Implementation\Render\ilTemplateWrapper
Wraps an ilTemplate to only provide smaller interface.
Definition:
ilTemplateWrapper.php:10
ILIAS\UI\Implementation\Render\TemplateFactory
Interface for a factory that provides templates.
Definition:
TemplateFactory.php:10
ILIAS\UI\Implementation\Render\ilTemplateWrapperFactory\__construct
__construct(\ilGlobalTemplateInterface $global_tpl)
Definition:
ilTemplateWrapperFactory.php:17
src
UI
Implementation
Render
ilTemplateWrapperFactory.php
Generated on Wed Sep 3 2025 20:01:30 for ILIAS by
1.8.13 (using
Doxyfile
)