You are here

public function PoDatabaseReader::setHeader in Localization update 7.2

Implements PoMetadataInterface::setHeader().

Throws

Exception Always, because you cannot set the PO header of a reader.

Overrides PoMetadataInterface::setHeader

File

includes/locale/PoDatabaseReader.php, line 118
Definition of PoDatabaseReader.

Class

PoDatabaseReader
Gettext PO reader working with the locale module database.

Code

public function setHeader(PoHeader $header) {
  throw new \Exception('You cannot set the PO header in a reader.');
}