- 7.3. Opt_Output_Http class
7.3.5. setHeader() - 7.3.4. setContentType()
« Previous - 7.4. Opt_Output_Return class
Next »
7.3.5. setHeader()
| Construct | Method |
|---|---|
| Visibility | public |
| Reference | boolean setHeader(string $name, string $value) |
| Argument list |
|
Sends a HTTP header, sanitizing its value by removing the new line characters. If the configuration directive headerBuffering is disabled, the new header is sent instantly, otherwise it is buffered and sent together with the rendered view.
The method returns false, if the headers have been already sent.
- 7.3.5. setHeader()
7.3. Opt_Output_Http class - « Previous
7.3.4. setContentType() - Next »
7.4. Opt_Output_Return class