API16

JResponse/appendBody

From Joomla! Documentation

< API16:JResponse
Revision as of 21:01, 24 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Append content to the body content



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]

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



Examples[edit]

Code Examples[edit]