API17

API17:JResponse

From Joomla! Documentation

Revision as of 20:56, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[Edit Descripton] Template:Description:JResponse

Defined in

libraries/joomla/environment/response.php

Subpackage

Environment

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 />