Sets $header PO header to $value
Description
If the header already exists, it will be overwritten
TODO: this should be out of this class, it is gettext specific
Parameters
$header
stringrequired- header name, without trailing :
$value
stringrequired- header value, without trailing n
Source
public function set_header( $header, $value ) {
$this->headers[ $header ] = $value;
}
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.