API17

JResponse::getBody

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.

Joomla 11.1 JResponse::getBody

Description

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 Joomla 11.1
  • Referenced by

See also


User contributed notes

Code Examples


Advertisement