Difference between revisions of "JResponse::getBody"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 30: | Line 30: | ||
string|array | string|array | ||
===Defined in=== | ===Defined in=== | ||
− | libraries/joomla/environment/response.php | + | libraries/joomla/environment/response.php (line 187) |
+ | * see source code in [[jplatform:environment/response.php#cl-187|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
− | * [[JCacheControllerPage | + | * [[JCacheControllerPage::store/11.1|JCacheControllerPage::store]] |
===See also=== | ===See also=== | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> |
Revision as of 21:09, 23 April 2011
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.
Template:Description:JResponse::getBody [Edit Descripton]
Since[edit]
Synopsis[edit]
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[edit]
string|array
Defined in[edit]
libraries/joomla/environment/response.php (line 187)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JResponse::getBody
Examples[edit]
<CodeExamplesForm />