API17:JResponse
From Joomla! Documentation
[Edit Descripton] Template:Description:JResponse
Defined in
libraries/joomla/environment/response.php
Subpackage
Extends
Extended by
Methods
| Method name | Description |
|---|---|
| allowCache | Set/get cachable state for the response. |
| appendBody | Append content to the body content. |
| clearHeaders | Clear headers. |
| getBody | Return the body content. |
| getHeaders | Return array of headers. |
| prependBody | Prepend content to the body content. |
| sendHeaders | Send all headers. |
| setBody | Set body content. |
| setHeader | Set a header. |
| toString | Sends all headers prior to returning the string. |
| clientEncoding | Check, whether client supports compressed data. |
| compress | Compress the data. |
Importing
jimport( 'joomla.environment.response' );
See also
Template:SeeAlso:JResponse [Edit See Also]
Examples
<CodeExamplesForm />