| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Document |
JDocumentRAW |
render |
render() |
Never | Work in Progress |
Renders the document.
The RAW document renderer simply returns the contents of the document buffer without any additional processing.
The method returns the rendered document string.
string render ( $cache, $params )
| $cache | boolean | is a boolean value that specifies whether or not the output should be cached. This parameter is optional and if omitted defaults to false. |
| $params | array | is an associative array of parameters. These parameters are not used. This parameter is optional. |
The site application calls the render method in the following manner:
Example
$data = $document->render( $this->getCfg('caching'), $params);