Actions

API16

JDocument/setBuffer

From Joomla! Documentation

< API16:JDocument
Revision as of 16:43, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
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 of the document buffer

[Edit Descripton]

Description:JDocument/setBuffer

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;
}

[Edit See Also] SeeAlso:JDocument/setBuffer

Examples

<CodeExamplesForm />