API15

JResponse/appendBody

From Joomla! Documentation

< API15:JResponse
Revision as of 17: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)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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[edit]

Append content to the body content

[Edit Descripton]

Template:Description:JResponse/appendBody

Syntax[edit]

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

Defined in[edit]

libraries/joomla/environment/response.php

Importing[edit]

jimport( 'joomla.environment.response' );

Source Body[edit]

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

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

Examples[edit]

<CodeExamplesForm />