API15:JDocumentHTML/setBuffer
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
Contents |
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
<CodeExamplesForm />
