Defines a Gettext PO memory writer, to be used by the installer.
Hierarchy
- class \Drupal\Component\Gettext\PoMemoryWriter implements PoWriterInterface
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. |
Please login to continue.