API16:JDocument/setBuffer
From Joomla! Documentation
Description
Set the contents of the document buffer
<! removed transcluded page call, red link never existed >
Syntax
setBuffer($content, $options=array())
| Parameter Name | Default Value | Description |
|---|---|---|
| $content | $content The content to be set in the buffer. | |
| $options | array() | $options Array of optional elements. |
Defined in
libraries/joomla/document/document.php
Importing
jimport( 'joomla.document.document' );
Source Body
public function setBuffer($content, $options = array()) {
$this->_buffer = $content;
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples