| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Document |
JDocument |
execRenderer |
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.
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. |
The display function calls the execRenderer function as follows:
Example
$html = $this->execRenderer($type, $name, array('outline' => $outline));