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 preparing for archive only
 
(One intermediate revision by the same user not shown)
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>
 
</span>
{{SeeAlso:JDocumentRendererComponent}}


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JDocumentRendererComponent
  category=JDocumentRendererComponent
  category=CodeExample
  namespace=CodeExample
  category=ClassExample
  category=ClassExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 01:33, 25 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' );



Examples

Code Examples