ILIAS  release_8 Revision v8.24
ilTemplateWrapperFactory.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
24use ilTemplate;
25
30{
32
34 {
35 $this->global_tpl = $global_tpl;
36 }
37
41 public function getTemplate(string $path, bool $purge_unfilled_vars, bool $purge_unused_blocks): Template
42 {
43 $tpl = new ilTemplate($path, $purge_unfilled_vars, $purge_unused_blocks);
44 return new ilTemplateWrapper($this->global_tpl, $tpl);
45 }
46}
getTemplate(string $path, bool $purge_unfilled_vars, bool $purge_unused_blocks)
@inheritdocs
Wraps an ilTemplate to only provide smaller interface.
special template class to simplify handling of ITX/PEAR
Interface for a factory that provides templates.
Interface to templating as it is used in the UI framework.
Definition: Template.php:29
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
Definition: latex.php:41
$path
Definition: ltiservices.php:32
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...