public function PoDatabaseWriter::writeItems in Localization update 7.2
Implements PoWriterInterface::writeItems().
Overrides PoWriterInterface::writeItems
File
- includes/
locale/ PoDatabaseWriter.php, line 225 - Definition of PoDatabaseWriter.
Class
- PoDatabaseWriter
- Gettext PO writer working with the locale module database.
Code
public function writeItems(PoReaderInterface $reader, $count = -1) {
$forever = $count == -1;
while (($count-- > 0 || $forever) && ($item = $reader
->readItem())) {
$this
->writeItem($item);
}
}