JResponse::setHeader
Set a header.
If $replace is true, replaces any headers already defined with that $name.
Signature
public function setHeader(string
$name,
[string
$value = false,
[boolean
$replace = false]] )
Parameters
-
$name
- The name of the header to set.
-
$value
- The value of the header to set.
-
$replace
- True to replace any existing headers by name.
Returns
- void