JDocumentRendererComponent: Difference between revisions
From Joomla! Documentation
m moving preparation |
m clean up |
||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JDocumentRendererComponent== | =={{JVer|11.1}} JDocumentRendererComponent== | ||
===Description=== | ===Description=== | ||
[[JDocumentRendererComponent]] is responsible for rendering the output from a component. It is called whenever a <code><jdoc:include type="component" /></code> statement is encountered in the document template. | |||
</ | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
| Line 26: | Line 24: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage Document|Document]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage Document|Document]] | ||
* [[API17:JDocumentRendererComponent|Other versions of JDocumentRendererComponent]] | * [[API17:JDocumentRendererComponent|Other versions of JDocumentRendererComponent]] | ||
{{SeeAlso:JDocumentRendererComponent}} | {{subst:SeeAlso:JDocumentRendererComponent}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 15:20, 24 March 2017
JDocumentRendererComponent
Description
JDocumentRendererComponent is responsible for rendering the output from a component. It is called whenever a <jdoc:include type="component" /> statement is encountered in the document template.
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | render | Renders a component script and returns the results as a string. |
- Defined in libraries/joomla/document/html/renderer/component.php
- Extends JDocumentRenderer
Importing
jimport( 'joomla.document.html.renderer.component' );
See also
JDocumentRendererComponent source code on BitBucket
Subpackage Document- Other versions of JDocumentRendererComponent
{{subst:SeeAlso:JDocumentRendererComponent}}
User contributed notes
<CodeExamplesForm />