API17:JResponse::getBody
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JResponse::getBody
Description
Return the body content.
Description:JResponse::getBody [Edit Descripton]
Since
Synopsis
public static JResponse::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 in
libraries/joomla/environment/response.php (line 187)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
