function PoWriterInterface::writeItems
Writes all or the given amount of items.
Parameters
PoReaderInterface $reader: Reader to read PoItems from.
int $count: Amount of items to read from $reader to write. If -1, all items are read from $reader.
3 methods override PoWriterInterface::writeItems()
- PoDatabaseWriter::writeItems in core/
modules/ locale/ src/ PoDatabaseWriter.php - Writes all or the given amount of items.
- PoMemoryWriter::writeItems in core/
lib/ Drupal/ Component/ Gettext/ PoMemoryWriter.php - Writes all or the given amount of items.
- PoStreamWriter::writeItems in core/
lib/ Drupal/ Component/ Gettext/ PoStreamWriter.php - Writes all or the given amount of items.
File
-
core/
lib/ Drupal/ Component/ Gettext/ PoWriterInterface.php, line 27
Class
- PoWriterInterface
- Shared interface definition for all Gettext PO Writers.
Namespace
Drupal\Component\GettextCode
public function writeItems(PoReaderInterface $reader, $count = -1);