Actions

API15

Difference between revisions of "JResponse"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JResponse}} ===Defined in=== l...)
 
 
Line 42: Line 42:
 
|Sends all headers prior to returning the string
 
|Sends all headers prior to returning the string
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.environment.response' );</source>
 
<source lang="php">jimport( 'joomla.environment.response' );</source>

Latest revision as of 12:34, 25 March 2010

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

Contents

Defined in

libraries/joomla/environment/response.php

Methods

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

jimport( 'joomla.environment.response' );

[Edit See Also] SeeAlso:JResponse

Examples

<CodeExamplesForm />