30 return $this->tpl->setCurrentBlock($name);
37 return $this->tpl->parseCurrentBlock();
44 return $this->tpl->touchBlock($name);
51 return $this->tpl->setVariable($name, $value);
57 public function get($block =
null) {
58 if ($block ===
null) {
59 $block =
"__global__";
61 return $this->tpl->get($block);
68 return $this->global_tpl->addOnLoadCode(
$code);
An exception for terminatinating execution or to throw for unit testing.
Wraps an ilTemplate to only provide smaller interface.
addOnLoadCode($code)
@inheritdocs
setVariable($name, $value)
@inheritdocs
touchBlock($name)
@inheritdocs
parseCurrentBlock()
@inheritdocs
__construct(\ilTemplate $global_tpl, \ilTemplate $tpl)
setCurrentBlock($name)
@inheritdocs
special template class to simplify handling of ITX/PEAR
Interface to templating as it is used in the UI framework.