JDocumentRendererComponent/render: Difference between revisions
From Joomla! Documentation
m removing red link to edit, no existant pages |
m clean up |
||
| Line 2: | Line 2: | ||
Renders a component script and returns the results as a string | Renders a component script and returns the results as a string | ||
<! removed transcluded page call, red link never existed > | <! removed transcluded page call, red link never existed > | ||
| Line 46: | Line 44: | ||
</source> | </source> | ||
<! removed transcluded page call, red link never existed > | <! removed transcluded page call, red link never existed > | ||
Revision as of 13:53, 24 March 2017
Description
Renders a component script and returns the results as a string
<! 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
public function render($component = null, $params = array(), $content = null)
{
return $content;
}
<! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />