Renders a Diet template file to the current HTTP response.
This function is equivalent to
vibe, but implicitly
writes the result to the response object of the currently processed
Note that this may only be called from a function/method
In addition to the vanilla
render function, this one also makes additional
functionality available within the template:
reqvariable that holds the current request object
- If the
@translationContextattribute us used, enables the built-in i18n support of Diet templates
template render(string diet_file, ALIASES...);
© 2013-2016 RejectedSoftware e.K.
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.