Actions

API15

JDocumentHTML/setBuffer

< API15:JDocumentHTML

The "API15" 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 a document include

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

setBuffer($contents, $type, $name=null)
Parameter Name Default Value Description
$contents $type The type of renderer
$type $name oke The name of the element to render
$name null $content The content to be set in the buffer

Defined in

libraries/joomla/document/html/html.php

Importing

jimport( 'joomla.document.html.html' );

Source Body

function setBuffer($contents, $type, $name = null)
{
        $this->_buffer[$type][$name] = $contents;
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples


Advertisement