33 return $this->tpl->setCurrentBlock(
$name);
41 return $this->tpl->parseCurrentBlock();
49 return $this->tpl->touchBlock(
$name);
57 return $this->tpl->setVariable(
$name, $value);
63 public function get($block = null)
65 if ($block === null) {
66 $block =
"__global__";
68 return $this->tpl->get($block);
76 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)