Actions

API16

JDocumentHTML/render

< API16:JDocumentHTML

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description

Outputs the template to the browser.


<! removed transcluded page call, red link never existed >

Syntax

render($caching=false, $params=array())
Parameter Name Default Value Description
$caching false $cache If true, cache the output
$params array() $params Associative array of attributes

Returns

The rendered data

Defined in

libraries/joomla/document/html/html.php

Importing

jimport( 'joomla.document.html.html' );

Source Body

function render($caching = false, $params = array())
{
        if (!empty($this->_template)) {
                $data = $this->_renderTemplate();
        } else {
                $this->parse($params);
                $data = $this->_renderTemplate();
        }
 
        parent::render();
        return $data;
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples


Advertisement