JResponse/1.5
From Joomla! Documentation
JResponse
Description
Description:JResponse [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | _clientEncoding | check, whether client supports compressed data |
| public | _compress | Compress the data. |
| public | appendBody | Append content to the body content. |
| public | clearHeaders | Clear headers. |
| public | getBody | Return the body content. |
| public | getHeaders | Return array of headers;. |
| public | prependBody | Prepend content to the body content. |
| public | sendHeaders | Send all headers. |
| public | setBody | Set body content. |
| public | setHeader | Set a header. |
| public | toString | Sends all headers prior to returning the string. |
| public | allowCache | Set/get cachable state for the response. |
- Defined in libraries/joomla/environment/response.php
Importing
jimport( 'joomla.environment.response' );
See also
-
JResponse on api.joomla.org
-
JResponse source code on JoomlaCode
-
Subpackage Environment
- Other versions of JResponse
SeeAlso:JResponse [Edit See Also]
User contributed notes
<CodeExamplesForm />