JResponse::getBody
From Joomla! Documentation
The "API17" 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.
JResponse::getBody[edit]
Description[edit]
Return the body content.
public static function getBody ($toArray=false)
Parameter | Type | Default | Description |
---|---|---|---|
$toArray | boolean | false | Whether or not to return the body content as an array of strings or as a single string; defaults to false. |
- Returns string|array
- Defined on line 187 of libraries/joomla/environment/response.php
- Since
- Referenced by
See also[edit]
JResponse::getBody source code on BitBucket
Class JResponse
Subpackage Environment
- Other versions of JResponse::getBody
User contributed notes[edit]
Code Examples[edit]