Table of Contents

render

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Document Class JDocumentRAW Method render Reference 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.

Syntax

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.

Examples

The site application calls the render method in the following manner:

Example

$data = $document->render( $this->getCfg('caching'), $params);