API15:JDocumentHTML/setBuffer
From Joomla! Documentation
Description
Set the contents a document include
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
setBuffer($contents, $type, $name=null)
| Parameter Name | Default Value | Description |
|---|---|---|
| $contents | $type The type of renderer | |
| $type | $name oke The name of the element to render | |
| $name | null | $content The content to be set in the buffer |
Defined in
libraries/joomla/document/html/html.php
Importing
jimport( 'joomla.document.html.html' );
Source Body
function setBuffer($contents, $type, $name = null)
{
$this->_buffer[$type][$name] = $contents;
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples