You are here

public function PoWriterInterface::writeItems in Localization update 7.2

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 includes/locale/PoDatabaseWriter.php
Implements PoWriterInterface::writeItems().
PoMemoryWriter::writeItems in includes/gettext/PoMemoryWriter.php
Implements PoWriterInterface::writeItems().
PoStreamWriter::writeItems in includes/gettext/PoStreamWriter.php
Implements PoWriterInterface::writeItems().

File

includes/gettext/PoWriterInterface.php, line 30
Definition of Drupal\Component\Gettext\PoWriterInterface.

Class

PoWriterInterface
Shared interface definition for all Gettext PO Writers.

Code

public function writeItems(PoReaderInterface $reader, $count = -1);