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);
Interface to templating as it is used in the UI framework.
special template class to simplify handling of ITX/PEAR
setVariable($name, $value)
Wraps an ilTemplate to only provide smaller interface.
__construct(\ilTemplate $global_tpl, \ilTemplate $tpl)