Set template variables programmatically.

This commit is contained in:
2016-07-30 23:33:00 +02:00
parent 7211edb0a0
commit a2d873853d
2 changed files with 20 additions and 17 deletions

View File

@@ -44,6 +44,11 @@ class GenericOutput
$this->templateVars = array_merge($this->templateVars, $tplVars);
}
public function getTemplateVars()
{
return $this->templateVars;
}
public function getRenderedOutput()
{
return $this->template->render($this->templateVars);