- 7. API Reference
7.4. Opt_Output_Return class - 7.3.5. setHeader()
« Previous - 7.5. Opt_Compiler_Class class
Next »
7.4. Opt_Output_Return class
| Construct | Class |
|---|---|
| Implements | Opt_Output_Interface |
| Versions | since 2.0-dev7 |
With this output system, the OPT output is returned by the render() method back to the script, so it can be processed in some other way.
$out = new Opt_Output_Return(); $outputData = $out->render($view);
This output system is less restrictive than
Opt_Output_Httpwhen it comes to the XML template limitations. Basically, here you can execute therender()method several times, for different views.
- 7.4. Opt_Output_Return class
7. API Reference - « Previous
7.3.5. setHeader() - Next »
7.5. Opt_Compiler_Class class