Actions

API17

Difference between revisions of "JResponse"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (moving preparation)
 
(3 intermediate revisions by one user not shown)
Line 14: Line 14:
 
|-
 
|-
 
|public static  
 
|public static  
|[[JResponse::allowCache/11.1|allowCache]]
+
|[[API17:JResponse::allowCache|allowCache]]
 
|Set/get cachable state for the response.  
 
|Set/get cachable state for the response.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JResponse::appendBody/11.1|appendBody]]
+
|[[API17:JResponse::appendBody|appendBody]]
 
|Append content to the body content.  
 
|Append content to the body content.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JResponse::clearHeaders/11.1|clearHeaders]]
+
|[[API17:JResponse::clearHeaders|clearHeaders]]
 
|Clear headers.  
 
|Clear headers.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JResponse::getBody/11.1|getBody]]
+
|[[API17:JResponse::getBody|getBody]]
 
|Return the body content.  
 
|Return the body content.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JResponse::getHeaders/11.1|getHeaders]]
+
|[[API17:JResponse::getHeaders|getHeaders]]
 
|Return array of headers.  
 
|Return array of headers.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JResponse::prependBody/11.1|prependBody]]
+
|[[API17:JResponse::prependBody|prependBody]]
 
|Prepend content to the body content.  
 
|Prepend content to the body content.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JResponse::sendHeaders/11.1|sendHeaders]]
+
|[[API17:JResponse::sendHeaders|sendHeaders]]
 
|Send all headers.  
 
|Send all headers.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JResponse::setBody/11.1|setBody]]
+
|[[API17:JResponse::setBody|setBody]]
 
|Set body content.  
 
|Set body content.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JResponse::setHeader/11.1|setHeader]]
+
|[[API17:JResponse::setHeader|setHeader]]
 
|Set a header.  
 
|Set a header.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JResponse::toString/11.1|toString]]
+
|[[API17:JResponse::toString|toString]]
 
|Sends all headers prior to returning the string.  
 
|Sends all headers prior to returning the string.  
 
|-
 
|-
 
|protected static  
 
|protected static  
|[[JResponse::clientEncoding/11.1|clientEncoding]]
+
|[[API17:JResponse::clientEncoding|clientEncoding]]
 
|Check, whether client supports compressed data.  
 
|Check, whether client supports compressed data.  
 
|-
 
|-
 
|protected static  
 
|protected static  
|[[JResponse::compress/11.1|compress]]
+
|[[API17:JResponse::compress|compress]]
 
|Compress the data.  
 
|Compress the data.  
 
|-
 
|-
Line 67: Line 67:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JResponse source code''' on [[jplatform:environment/response.php|BitBucket]]
 
* {{JVer|11.1}} '''JResponse source code''' on [[jplatform:environment/response.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Environment/11.1|Environment]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Environment|Environment]]
* [[JResponse|Other versions of JResponse]]
+
* [[API17:JResponse|Other versions of JResponse]]
 
{{SeeAlso:JResponse}}
 
{{SeeAlso:JResponse}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 84: Line 84:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JResponse]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 20:24, 11 May 2013

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.

Joomla 11.1 JResponse

Description

Description:JResponse [Edit Descripton]

Methods

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

Importing

jimport( 'joomla.environment.response' );

See also

SeeAlso:JResponse [Edit See Also]

User contributed notes

<CodeExamplesForm />