25 public function getTemplate($path, $purge_unfilled_vars, $purge_unused_blocks)
27 $tpl = new \ilTemplate($path, $purge_unfilled_vars, $purge_unused_blocks);
An exception for terminatinating execution or to throw for unit testing.
Factory for wrapped ilTemplates.
__construct(\ilGlobalTemplateInterface $global_tpl)
getTemplate($path, $purge_unfilled_vars, $purge_unused_blocks)
@inheritdocs
Wraps an ilTemplate to only provide smaller interface.
Interface for a factory that provides templates.
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl