API16

API16:JDocument/setBuffer

From Joomla! Documentation

Revision as of 01:31, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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