API17

Difference between revisions of "JResponse::allowCache"

From Joomla! Documentation

(Layout updates)
m (moving preparation)
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JResponse::allowCache|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JResponse::allowCache|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JResponse::allowCache ($allow=null)
+
public static function allowCache ($allow=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 25: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 53 of libraries/joomla/environment/response.php
===Defined in===
+
* '''Referenced by'''
libraries/joomla/environment/response.php (line 53)
+
** [[API17:JError::customErrorPage|JError::customErrorPage]]
* see source code in [[jplatform:environment/response.php#cl-53|BitBucket]]
+
** [[API17:JDocumentJSON::render|JDocumentJSON::render]]
===Referenced by===
 
* [[JError::customErrorPage/11.1|JError::customErrorPage]]
 
* [[JDocumentJSON::render/11.1|JDocumentJSON::render]]
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JResponse::allowCache source code''' on [[jplatform:environment/response.php#cl-45|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JResponse|JResponse]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]]
 +
* [[API17:JResponse::allowCache|Other versions of JResponse::allowCache]]
 +
{{SeeAlso:JResponse::allowCache}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JResponse::allowCache|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JResponse::allowCache|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JResponse/11.1|JResponse]]
+
===User contributed notes===
* [[JResponse::allowCache|Other versions of this method]]
 
{{SeeAlso:JResponse::allowCache}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 48: Line 46:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JResponse]][[Category:JResponse::allowCache]]</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::allowCache[edit]

Description[edit]

Set/get cachable state for the response.

Template:Description:JResponse::allowCache [Edit Descripton]

public static function allowCache ($allow=null)
Parameter Type Default Description
$allow null

See also[edit]

Template:SeeAlso:JResponse::allowCache [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />