API15:JDocumentRendererComponent/render
From Joomla! Documentation
Description
Renders a component script and returns the results as a string
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
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
function render( $component = null, $params = array(), $content = null )
{
return $content;
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples