7.3. Opt_Output_Http class
7.3.2. render()
7.3.1. getHeaders()
« Previous
7.3.3. sendHeaders()
Next »

7.3.2. render()

ConstructMethod
Visibilitypublic
Referencemixed render(Opt_View $view)
Argument list
$view - Opt_View
The view to render

Renders the $view and sends the results as a HTTP response. If OPT works in XML mode, this method may be executed only once for maximum one view. This prevents from building an invalid XML document from valid XML templates by concatenating them in the unsupported way.

Creating modular templates that can be used in XML mode is described in a chapter about modularization.

7.3.2. render()
7.3. Opt_Output_Http class
« Previous
7.3.1. getHeaders()
Next »
7.3.3. sendHeaders()