API15

API15:JResponse/appendBody

From Joomla! Documentation

Revision as of 22:19, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Append content to the body content <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]<...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Append content to the body content

[Edit Descripton]

Template:Description:JResponse/appendBody

Syntax

appendBody($content)
Parameter Name Default Value Description
$content $content

Defined in

libraries/joomla/environment/response.php

Importing

jimport( 'joomla.environment.response' );

Source Body

function appendBody($content) {
        array_push($GLOBALS['_JRESPONSE']->body, (string) $content);
}

[Edit See Also] Template:SeeAlso:JResponse/appendBody

Examples

<CodeExamplesForm />