Support Joomla!

references:joomla.framework:environment:jresponse

JResponse

API Package Subpackage Class Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Environment Class JResponse Reference JResponse Never Work in Progress

JResponse Class<p>This class serves to provide the Joomla Framework with a common interface to access response variables. This includes header and body.</p>

Methods

Method Description
allowCache Set/get cachable state for the response<p>If $allow is set, sets the cachable state of the response. Always returns current state</p>
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<p>If body content already defined, this will replace it.</p>
setHeader Set a header<p>If $replace is true, replaces any headers already defined with that $name.</p>
toString Sends all headers prior to returning the string
_compress Compress the data<p>Checks the accept encoding of the browser and compresses the data before sending it to the client.</p>


Discussion

Full name:
E-Mail:
 
references/joomla.framework/environment/jresponse.txt (1343 views) · Last modified: 2007/09/22 02:48