Actions

API17

Difference between revisions of "JDocumentRendererComponent::render"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JDocumentRendererComponent::render|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JDocumentRendererComponent::render|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JDocumentRendererComponent::render ($component=null, $params=array(), $content=null)
+
public function render (
 +
        $component=null
 +
        $params=array
 +
        $content=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 38:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' string The output of the script
string The output of the script
+
* '''Defined''' on line 30 of libraries/joomla/document/html/renderer/component.php
===Defined in===
+
libraries/joomla/document/html/renderer/component.php (line 30)
+
* see source code in [[jplatform:document/html/renderer/component.php#cl-30|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JDocumentRendererComponent::render source code''' on [[jplatform:document/html/renderer/component.php#cl-22|BitBucket]]
 +
* {{JVer|11.1}} Class [[JDocumentRendererComponent/11.1|JDocumentRendererComponent]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Document/11.1|Document]]
 +
* [[JDocumentRendererComponent::render|Other versions of JDocumentRendererComponent::render]]
 +
{{SeeAlso:JDocumentRendererComponent::render}}
 
<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>[</nowiki>[[SeeAlso:JDocumentRendererComponent::render|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JDocumentRendererComponent/11.1|JDocumentRendererComponent]]
+
===User contributed notes===
* [[JDocumentRendererComponent::render|Other versions of this method]]
+
{{SeeAlso:JDocumentRendererComponent::render}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 56: Line 57:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JDocumentRendererComponent]][[Category:JDocumentRendererComponent::render]]</noinclude>
 
<noinclude>[[Category:JDocumentRendererComponent]][[Category:JDocumentRendererComponent::render]]</noinclude>

Revision as of 19:49, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JDocumentRendererComponent::render

Description

Renders a component script and returns the results as a string.

Description:JDocumentRendererComponent::render [Edit Descripton]

public function render (
        $component=null
        $params=array
        $content=null
)
Parameter Type Default Description
$component string null The name of the component to render
$params array array() Associative array of values
$content null
  • Returns string The output of the script
  • Defined on line 30 of libraries/joomla/document/html/renderer/component.php

See also

SeeAlso:JDocumentRendererComponent::render [Edit See Also]

User contributed notes

<CodeExamplesForm />