JDocumentRendererComponent: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JDocumentRenderer... |
m clean up |
||
| Line 1: | Line 1: | ||
[[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. | |||
</ | |||
===Defined in=== | ===Defined in=== | ||
| Line 19: | Line 16: | ||
<source lang="php">jimport( 'joomla.document.html.renderer.component' );</source> | <source lang="php">jimport( 'joomla.document.html.renderer.component' );</source> | ||
{{subst:SeeAlso:JDocumentRendererComponent}} | |||
{{SeeAlso:JDocumentRendererComponent}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 13:53, 24 March 2017
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.
Defined in
libraries/joomla/document/html/renderer/component.php
Methods
| Method name | Description |
|---|---|
| render | Renders a component script and returns the results as a string |
Importing
jimport( 'joomla.document.html.renderer.component' );
{{subst:SeeAlso:JDocumentRendererComponent}}
Examples
<CodeExamplesForm />