API17

JDocumentRendererComponent: Difference between revisions

From Joomla! Documentation

m User contributed notes: moving preparation
m preparing for archive only
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
=={{JVer|11.1}} JDocumentRendererComponent==
=={{JVer|11.1}} JDocumentRendererComponent==
===Description===
===Description===
{{Description:JDocumentRendererComponent}}
[[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.
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDocumentRendererComponent|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Methods===
===Methods===
{| class="wikitable sortable"
{| class="wikitable sortable"
Line 14: Line 12:
|-
|-
|public  
|public  
|[[JDocumentRendererComponent::render/11.1|render]]
|[[API17:JDocumentRendererComponent::render|render]]
|Renders a component script and returns the results as a string.  
|Renders a component script and returns the results as a string.  
|-
|-
|}
|}
* '''Defined in''' libraries/joomla/document/html/renderer/component.php
* '''Defined in''' libraries/joomla/document/html/renderer/component.php
* '''Extends''' [[JDocumentRenderer/11.1|JDocumentRenderer]]
* '''Extends''' [[API17:JDocumentRenderer|JDocumentRenderer]]
===Importing===
===Importing===
<source lang="php">jimport( 'joomla.document.html.renderer.component' );</source>
<source lang="php">jimport( 'joomla.document.html.renderer.component' );</source>
===See also===
===See also===
* {{JVer|11.1}} '''JDocumentRendererComponent source code''' on [[jplatform:document/html/renderer/component.php|BitBucket]]
* {{JVer|11.1}} '''JDocumentRendererComponent source code''' on [[jplatform:document/html/renderer/component.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Document/11.1|Document]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage Document|Document]]
* [[JDocumentRendererComponent|Other versions of JDocumentRendererComponent]]
* [[API17:JDocumentRendererComponent|Other versions of JDocumentRendererComponent]]
{{SeeAlso:JDocumentRendererComponent}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDocumentRendererComponent|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDocumentRendererComponent
category=JDocumentRendererComponent
category=CodeExample
namespace=CodeExample
category=ClassExample
category=ClassExample
include=*
include=*

Latest revision as of 02:54, 25 March 2017

Joomla 11.1 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


User contributed notes

Code Examples