API16

JDocumentRendererComponent/render: Difference between revisions

From Joomla! Documentation

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...
 
m removing red link to edit, no existant pages
Line 3: Line 3:


<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JDocumentRendererComponent/render|Edit Descripton]]<nowiki>]</nowiki>
<nowiki>[<! removed edit link to red link >]</nowiki>
</span>
</span>


{{Description:JDocumentRendererComponent/render}}
<! removed transcluded page call, red link never existed >


===Syntax===
===Syntax===
Line 47: Line 47:


<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JDocumentRendererComponent/render|Edit See Also]]<nowiki>]</nowiki>
<nowiki>[<! removed edit link to red link >]</nowiki>
</span>
</span>
{{SeeAlso:JDocumentRendererComponent/render}}
<! removed transcluded page call, red link never existed >


===Examples===
===Examples===
Line 62: Line 62:
  format= ,,,
  format= ,,,
</dpl>
</dpl>
[[Category:Archived pages API16]]

Revision as of 03:07, 13 May 2013

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

public 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

<CodeExamplesForm />