- 7.24. Opt_Output_Interface class
7.24.2. render() - 7.24.1. getName()
« Previous - 8. Appendix
Next »
7.24.2. render()
| Construct | Abstract method |
|---|---|
| Visibility | public |
| Reference | mixed render(Opt_View $view) |
| Argument list |
|
| Returned value | The returned value may depend on the output needs. |
Executes the Opt_View::_parse() method in Opt_View class in order to execute the template. The most trivial implementation:
public function render(Opt_View $view) { $view->_parse($this, true); } // end render();
The second argument in _parse() indicates that the method should throw an exception, if the requested template does not exist. The library does not require the method to return any particular value, however the output system may return such a value in render().
- 7.24.2. render()
7.24. Opt_Output_Interface class - « Previous
7.24.1. getName() - Next »
8. Appendix