API15

API15:JDocument/setBuffer

From Joomla! Documentation

Revision as of 22:17, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Set the contents of the document buffer <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowik...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Set the contents of the document buffer

[Edit Descripton]

Template:Description:JDocument/setBuffer

Syntax

setBuffer($content)
Parameter Name Default Value Description
$content $content The content to be set in the buffer

Defined in

libraries/joomla/document/document.php

Importing

jimport( 'joomla.document.document' );

Source Body

function setBuffer($content) {
        $this->_buffer = $content;
}

[Edit See Also] Template:SeeAlso:JDocument/setBuffer

Examples

<CodeExamplesForm />