Yaf_Response_Abstract::setHeader
(Yaf >=1.0.0)
Yaf_Response_Abstract::setHeader — Set reponse header
Description
public Yaf_Response_Abstract::setHeader ( string $name , string $value [, bool $replace ] ) : bool
Used to send a HTTP header
Parameters
This function has no parameters.
Return Values
See Also
- Yaf_Response_Abstract::getHeader() - The getHeader purpose
- Yaf_Response_Abstract::cleanHeaders()
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/yaf-response-abstract.setheader.php