class PoDatabaseWriter

Gettext PO writer working with the locale module database.

Hierarchy

Expanded class hierarchy of PoDatabaseWriter

1 file declares its use of PoDatabaseWriter

File

drupal/core/modules/locale/lib/Drupal/locale/PoDatabaseWriter.php, line 20
Definition of Drupal\locale\PoDatabaseWriter.

Namespace

Drupal\locale
View source

Members

Namesort descending Modifiers Type Description Overrides
PoDatabaseWriter::$_header private property Header of the po file written to the database.
PoDatabaseWriter::$_langcode private property Language code of the language being written to the database.
PoDatabaseWriter::$_options private property An associative array indicating what data should be overwritten, if any.
PoDatabaseWriter::$_report private property Associative array summarizing the number of changes done.
PoDatabaseWriter::getHeader function Implements Drupal\Component\Gettext\PoMetadataInterface::getHeader(). Overrides PoMetadataInterface::getHeader
PoDatabaseWriter::getLangcode public function Implements Drupal\Component\Gettext\PoMetadataInterface::getLangcode(). Overrides PoMetadataInterface::getLangcode
PoDatabaseWriter::getOptions function Get the options used by the writer.
PoDatabaseWriter::getReport public function Get the report of the write operations.
PoDatabaseWriter::importString private function Imports one string into the database.
PoDatabaseWriter::setHeader function Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader(). Overrides PoMetadataInterface::setHeader
PoDatabaseWriter::setLangcode public function Implements Drupal\Component\Gettext\PoMetadataInterface::setLangcode(). Overrides PoMetadataInterface::setLangcode
PoDatabaseWriter::setOptions function Set the options for the current writer.
PoDatabaseWriter::setReport function Set the report array of write operations.
PoDatabaseWriter::writeItem function Implements Drupal\Component\Gettext\PoWriterInterface::writeItem(). Overrides PoWriterInterface::writeItem
PoDatabaseWriter::writeItems public function Implements Drupal\Component\Gettext\PoWriterInterface::writeItems(). Overrides PoWriterInterface::writeItems
PoDatabaseWriter::__construct function Constructor, initialize reporting array.