API15

JResponse

From Joomla! Documentation

Revision as of 12:34, 25 March 2010 by Doxiki (talk | contribs)

The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[Edit Descripton] Template:Description:JResponse

Defined in[edit]

libraries/joomla/environment/response.php

Methods[edit]

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

Importing[edit]

jimport( 'joomla.environment.response' );

[Edit See Also] Template:SeeAlso:JResponse

Examples[edit]

<CodeExamplesForm />