You are here

public function PoWriterInterface::writeItems in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Component/Gettext/PoWriterInterface.php \Drupal\Component\Gettext\PoWriterInterface::writeItems()

Writes all or the given amount of items.

Parameters

PoReaderInterface $reader: Reader to read PoItems from.

$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 32
Contains \Drupal\Component\Gettext\PoWriterInterface.

Class

PoWriterInterface
Shared interface definition for all Gettext PO Writers.

Namespace

Drupal\Component\Gettext

Code

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