JResponse/1.5

From Joomla! Documentation
< JResponse(Difference between revisions)
Jump to: navigation, search
(Layout updates)
m (See also: fixing link to API)
 
Line 66: Line 66:
 
<source lang="php">jimport( 'joomla.environment.response' );</source>
 
<source lang="php">jimport( 'joomla.environment.response' );</source>
 
===See also===
 
===See also===
* {{JVer|1.5}} '''JResponse''' on [http://api.joomla.org/Joomla-Framework/Environment/JResponse.html api.joomla.org]
+
* {{JVer|1.5}} '''JResponse''' on [http://api.joomla.org/1.5/Joomla-Framework/Environment/JResponse.html api.joomla.org]
 
* {{JVer|1.5}} '''JResponse source code''' on [[jframework15:environment/response.php|JoomlaCode]]
 
* {{JVer|1.5}} '''JResponse source code''' on [[jframework15:environment/response.php|JoomlaCode]]
 
* {{JVer|1.5}} Subpackage [[Subpackage Environment/1.5|Environment]]
 
* {{JVer|1.5}} Subpackage [[Subpackage Environment/1.5|Environment]]

Latest revision as of 16:05, 13 February 2013

[edit] Joomla 1.5 JResponse

[edit] Description

Description:JResponse [Edit Descripton]

[edit] Methods

Visibility Method name Description
public _clientEncoding check, whether client supports compressed data
public _compress Compress the data.
public appendBody Append content to the body content.
public clearHeaders Clear headers.
public getBody Return the body content.
public getHeaders Return array of headers;.
public prependBody Prepend content to the body content.
public sendHeaders Send all headers.
public setBody Set body content.
public setHeader Set a header.
public toString Sends all headers prior to returning the string.
public allowCache Set/get cachable state for the response.
  • Defined in libraries/joomla/environment/response.php

[edit] Importing

jimport( 'joomla.environment.response' );

[edit] See also

SeeAlso:JResponse [Edit See Also]

[edit] User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox