JResponse
JResponse Class
This class serves to provide the Joomla Framework with a common interface to access response variables. This includes header and body.
Located in /joomla/environment/response.php (line 35)
JResponse (Subpackage Environment)
Set/get cachable state for the response
If $allow is set, sets the cachable state of the response. Always returns current state
- boolean $allow
Append content to the body content
- string $content
Return the body content
- boolean $toArray: Whether or not to return the body content as an array of strings or as a single string; defaults to false
Prepend content to the body content
- string $content
Set body content
If body content already defined, this will replace it.
- string $content
Set a header
If $replace is true, replaces any headers already defined with that $name.
- string $name
- string $value
- boolean $replace
Sends all headers prior to returning the string
- boolean $compress: If true, compress the data
Compress the data
Checks the accept encoding of the browser and compresses the data before sending it to the client.
- string $data: data
Documentation generated on Mon, 05 Mar 2007 21:20:17 +0000 by phpDocumentor 1.3.1