Support Joomla!

references:joomla.framework:document:jdocument-execrenderer

Table of Contents

execRenderer

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Document Class JDocument Method execRenderer Reference execRenderer() Never Work in Progress

This function executes a renderer. It is called by the display function to render the document and display it. It returns the output of the renderer.

Syntax

string execRenderer ( $type, $name, $params )

$type string is a string containing the type of renderer to execute.
$name string is a string containing the name of the element to render
$params array is an associative array of parameters to pass to the renderer. This parameter is optional and if omitted defaults to an empty array.

Examples

The display function calls the execRenderer function as follows:

Example

$html = $this->execRenderer($type, $name, array('outline' => $outline));
 
references/joomla.framework/document/jdocument-execrenderer.txt (132657 views) · Last modified: 2007/08/15 14:53