API17

Difference between revisions of "JResponse"

From Joomla! Documentation

m (JoomlaWikiBot moved page JResponse/11.1 to API17:JResponse without leaving a redirect: Robot: Moved page)
m (moving preparation)
(One intermediate revision by the same 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 JClasses]][[Category:Platform 11.1]][[Category:JResponse]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:24, 11 May 2013

The "API17" 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.

Joomla 11.1 JResponse[edit]

Description[edit]

Template:Description:JResponse [Edit Descripton]

Methods[edit]

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[edit]

jimport( 'joomla.environment.response' );

See also[edit]

Template:SeeAlso:JResponse [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />