API16

JDocument/setBuffer

< API16:JDocument

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

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


Advertisement