Table of Contents

render

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Document Class JDocumentPDF Method render Reference render() Never Work in Progress

Renders the document.

The method pushes the document data into the PDF object and invokes the PDF method to render the HTML in PDF format.

The method returns the rendered PDF document.

Syntax

string render ( $cache, $params )

$cache boolean is a boolean value which specifies whether or not the feed should be cached. This parameter is optional and if omitted defaults to false.
$params array is an associative array of attributes. These parameters are not used by the JDocumentPDF class.

Examples

This method gets called by the JApplication::render() method in the following manner:

Example

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