JResponse::setHeader
From Joomla! Documentation
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.
JResponse::setHeader[edit]
Description[edit]
Set a header.
public static function setHeader (
$name
$value
$replace=false
)
Parameter | Type | Default | Description |
---|---|---|---|
$name | |||
$value | |||
$replace | false |
- Returns
- Defined on line 74 of libraries/joomla/environment/response.php
- Referenced by
See also[edit]
- JResponse::setHeader source code on BitBucket
- Class JResponse
- Subpackage Environment
- Other versions of JResponse::setHeader
User contributed notes[edit]
Code Examples[edit]