API15

API15:JResponse/appendBody

From Joomla! Documentation

Description

Append content to the body content

[<! removed edit link to red link >]

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

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);
}

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

Examples

Code Examples