API16

API16:JDocumentRendererComponent/render

From Joomla! Documentation

Revision as of 22:45, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Renders a component script and returns the results as a string <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JDocumentRendererCom...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Renders a component script and returns the results as a string

[Edit Descripton]

Template:Description:JDocumentRendererComponent/render

Syntax

render($component=null, $params=array(), $content=null)
Parameter Name Default Value Description
$component null $component The name of the component to render
$params array() $params Associative array of values
$content null

Returns

string The output of the script

Defined in

libraries/joomla/document/html/renderer/component.php

Importing

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

Source Body

public function render($component = null, $params = array(), $content = null)
{
        return $content;
}

[Edit See Also] Template:SeeAlso:JDocumentRendererComponent/render

Examples

<CodeExamplesForm />