API16

API16:JDocument/setBuffer

From Joomla! Documentation

Revision as of 03:05, 13 May 2013 by JoomlaWikiBot (talk | contribs) (removing red link to edit, no existant pages)

Description

Set the contents of the document buffer

[<! removed edit link to red link >]

<! 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 edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

<CodeExamplesForm />