Actions

API17

Difference between revisions of "JResponse::setHeader"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JResponse::setHeader|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JResponse::setHeader|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JResponse::setHeader ($name, $value, $replace=false)
+
public static function setHeader (
 +
        $name
 +
        $value
 +
        $replace=false
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 38:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 74 of libraries/joomla/environment/response.php
===Defined in===
+
* '''Referenced by'''
libraries/joomla/environment/response.php (line 74)
+
** [[JDocumentXML::render/11.1|JDocumentXML::render]]
* see source code in [[jplatform:environment/response.php#cl-74|BitBucket]]
+
** [[JDocumentJSON::render/11.1|JDocumentJSON::render]]
===Referenced by===
+
** [[JDocumentError::render/11.1|JDocumentError::render]]
* [[JDocumentXML::render/11.1|JDocumentXML::render]]
+
** [[JDocument::render/11.1|JDocument::render]]
* [[JDocumentJSON::render/11.1|JDocumentJSON::render]]
+
* [[JDocumentError::render/11.1|JDocumentError::render]]
+
* [[JDocument::render/11.1|JDocument::render]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JResponse::setHeader source code''' on [[jplatform:environment/response.php#cl-66|BitBucket]]
 +
* {{JVer|11.1}} Class [[JResponse/11.1|JResponse]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]]
 +
* [[JResponse::setHeader|Other versions of JResponse::setHeader]]
 +
{{SeeAlso:JResponse::setHeader}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JResponse::setHeader|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JResponse::setHeader|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JResponse/11.1|JResponse]]
+
===User contributed notes===
* [[JResponse::setHeader|Other versions of this method]]
+
{{SeeAlso:JResponse::setHeader}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 60: Line 62:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JResponse]][[Category:JResponse::setHeader]]</noinclude>
 
<noinclude>[[Category:JResponse]][[Category:JResponse::setHeader]]</noinclude>

Revision as of 21:33, 27 April 2011

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::setHeader

Description

Set a header.

Description:JResponse::setHeader [Edit Descripton]

public static function setHeader (
        $name
        $value
        $replace=false
)
Parameter Type Default Description
$name
$value
$replace false

See also

SeeAlso:JResponse::setHeader [Edit See Also]

User contributed notes

<CodeExamplesForm />