Latte – compile text from database
Notice: This thread is very old.
- stefi023
- Member | 71
Hachik wrote:
You should use Nette\Templating\Template
and its
setSource()
method.
Eg. you can write your own helper:
presenter/control:
template:
Remember that, if you do not create the template via the
Nette\Application\UI\Control::createTemplate
method, you have to
register all its helpers, basic variables, etc (see Application.UI.Control)
I hope it's clear :)
Last edited by stefi023 (2012-06-25 17:03)