| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Document |
JDocumentPDF |
render |
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.
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. |
This method gets called by the JApplication::render() method in the following manner:
Example
$data = $document->render( $this->getCfg('caching'), $params);