API17:JResponse
From Joomla! Documentation
(Difference between revisions)
(Updated to r1448:247ba8d88526) |
m (→User contributed notes: bad link repair) |
||
| Line 84: | Line 84: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JResponse]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JResponse]]</noinclude> |
Revision as of 14:01, 29 August 2012
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JResponse
Description
Description:JResponse [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public static | allowCache | Set/get cachable state for the response. |
| public static | appendBody | Append content to the body content. |
| public static | clearHeaders | Clear headers. |
| public static | getBody | Return the body content. |
| public static | getHeaders | Return array of headers. |
| public static | prependBody | Prepend content to the body content. |
| public static | sendHeaders | Send all headers. |
| public static | setBody | Set body content. |
| public static | setHeader | Set a header. |
| public static | toString | Sends all headers prior to returning the string. |
| protected static | clientEncoding | Check, whether client supports compressed data. |
| protected static | compress | Compress the data. |
- Defined in libraries/joomla/environment/response.php
Importing
jimport( 'joomla.environment.response' );
See also
-
JResponse source code on BitBucket
-
Subpackage Environment
- Other versions of JResponse
SeeAlso:JResponse [Edit See Also]
User contributed notes
<CodeExamplesForm />
