JApplicationWeb::header
Method to send a header to the client. We are wrapping this to isolate the header() function from our code base for testing reasons.
Signature
protected function header(string
$string,
[boolean
$replace = true,
[integer
$code = null]] )
Parameters
-
$string
- The header string.
-
$replace
- The optional replace parameter indicates whether the header should
-
$code
- Forces the HTTP response code to the specified value. Note that
Returns
- void