API16

API16:JResponse

From Joomla! Documentation

Revision as of 22:46, 22 March 2010 by Doxiki (talk | contribs) (New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JResponse}} ===Defined in=== l...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[Edit Descripton] Template:Description:JResponse

Defined in

libraries/joomla/environment/response.php

Methods

Method name Description
allowCache Set/get cachable state for the response.
setHeader Set a header
clearHeaders Clear headers.
sendHeaders Send all headers.
setBody Set body content.
getBody Return the body content
toString Sends all headers prior to returning the string
getHeaders Return array of headers.
prependBody Prepend content to the body content
appendBody Append content to the body content

Importing

jimport( 'joomla.environment.response' );

[Edit See Also] Template:SeeAlso:JResponse

Examples

<CodeExamplesForm />