19 declare(strict_types=1);
41 return $this->tpl->setCurrentBlock($name);
49 return $this->tpl->parseCurrentBlock();
57 return $this->tpl->touchBlock($name);
65 $this->tpl->setVariable($name, $value);
71 public function get(?
string $block =
null):
string 73 if ($block ===
null) {
74 $block =
"__global__";
76 return $this->tpl->get($block);
setVariable(string $name, $value)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Wraps an ilTemplate to only provide smaller interface.
__construct(private ilTemplate $tpl,)
setCurrentBlock(string $name)