API16

JDocumentRendererComponent: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
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:
<span class="editsection" style="font-size:76%;">
[[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.
<nowiki>[</nowiki>[[Description:JDocumentRendererComponent|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{Description:JDocumentRendererComponent}}


===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>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDocumentRendererComponent|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JDocumentRendererComponent}}
</span>
{{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 />