Actions

API17

Difference between revisions of "JResponse"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/environment/response.php
 
libraries/joomla/environment/response.php
 +
* see source code in [[jplatform:environment/response.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Environment/11.1|Environment]]
 
[[Subpackage Environment/11.1|Environment]]
Line 56: Line 57:
 
<source lang="php">jimport( 'joomla.environment.response' );</source>
 
<source lang="php">jimport( 'joomla.environment.response' );</source>
 
===See also===
 
===See also===
 +
* JResponse source code in [[jplatform:environment/response.php|BitBucket]]
 
* [[JResponse|Other versions of this class]]
 
* [[JResponse|Other versions of this class]]
 
{{SeeAlso:JResponse}}
 
{{SeeAlso:JResponse}}

Revision as of 18:01, 23 April 2011

Replacement filing cabinet.png
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.

[Edit Descripton] 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

SeeAlso:JResponse [Edit See Also]

Examples

<CodeExamplesForm />