class PoMemoryWriter

Defines a Gettext PO memory writer, to be used by the installer.

Hierarchy

File

core/lib/Drupal/Component/Gettext/PoMemoryWriter.php, line 8

Namespace

Drupal\Component\Gettext

Members

Name Modifiers Type Description
PoMemoryWriter::$_items private property Array to hold all PoItem elements.
PoMemoryWriter::getData public function Get all stored PoItem's.
PoMemoryWriter::getHeader function Implements Drupal\Component\Gettext\PoMetadataInterface:getHeader(). Overrides PoMetadataInterface::getHeader
PoMemoryWriter::getLangcode function Implements Drupal\Component\Gettext\PoMetadataInterface:getLangcode(). Overrides PoMetadataInterface::getLangcode
PoMemoryWriter::setHeader function Implements Drupal\Component\Gettext\PoMetadataInterface:setHeader(). Overrides PoMetadataInterface::setHeader
PoMemoryWriter::setLangcode function Implements Drupal\Component\Gettext\PoMetadataInterface:setLangcode(). Overrides PoMetadataInterface::setLangcode
PoMemoryWriter::writeItem public function Writes the given item. Overrides PoWriterInterface::writeItem
PoMemoryWriter::writeItems public function Writes all or the given amount of items. Overrides PoWriterInterface::writeItems
PoMemoryWriter::__construct function Constructor, initialize empty items.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Gettext!PoMemoryWriter.php/class/PoMemoryWriter/8.1.x