API16

JDocumentRenderer/render: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 48: Line 48:


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=render
  category=render
  category=JDocumentRenderer
  category=JDocumentRenderer
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

Latest revision as of 01:33, 25 March 2017

Description

Renders a script and returns the results as a string


<! removed transcluded page call, red link never existed >

Syntax

render($name, $params=array(), $content=null)
Parameter Name Default Value Description
$name $name The name of the element to render
$params array() $array Array of values
$content null $content Override the output of the renderer

Returns

string The output of the script

Defined in

libraries/joomla/document/renderer.php

Importing

jimport( 'joomla.document.renderer' );

Source Body

function render($name, $params = array(), $content = null)
{

}


<! removed transcluded page call, red link never existed >

Examples

Code Examples