ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilTemplateWrapperFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24use ilTemplate;
25
30{
34 public function getTemplate(string $path, bool $purge_unfilled_vars, bool $purge_unused_blocks): Template
35 {
36 $tpl = new ilTemplate($path, $purge_unfilled_vars, $purge_unused_blocks);
37 return new ilTemplateWrapper($tpl);
38 }
39}
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
$path
Definition: ltiservices.php:30