Search for %s

  1. Search 7.x for %s
  2. Search 8.9.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
PoDatabaseWriter.php file core/modules/locale/src/PoDatabaseWriter.php
PoDatabaseWriter::$header property core/modules/locale/src/PoDatabaseWriter.php Header of the po file written to the database.
PoDatabaseWriter::$langcode property core/modules/locale/src/PoDatabaseWriter.php Language code of the language being written to the database.
PoDatabaseWriter::$options property core/modules/locale/src/PoDatabaseWriter.php An associative array indicating what data should be overwritten, if any.
PoDatabaseWriter::$report property core/modules/locale/src/PoDatabaseWriter.php Associative array summarizing the number of changes done.
PoDatabaseWriter::getHeader function core/modules/locale/src/PoDatabaseWriter.php Get header metadata.
PoDatabaseWriter::getLangcode function core/modules/locale/src/PoDatabaseWriter.php Get language code.
PoDatabaseWriter::getOptions function core/modules/locale/src/PoDatabaseWriter.php Get the options used by the writer.
PoDatabaseWriter::getReport function core/modules/locale/src/PoDatabaseWriter.php Get the report of the write operations.
PoDatabaseWriter::importString function core/modules/locale/src/PoDatabaseWriter.php Imports one string into the database.
PoDatabaseWriter::setHeader function core/modules/locale/src/PoDatabaseWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader().
PoDatabaseWriter::setLangcode function core/modules/locale/src/PoDatabaseWriter.php Set language code.
PoDatabaseWriter::setOptions function core/modules/locale/src/PoDatabaseWriter.php Set the options for the current writer.
PoDatabaseWriter::setReport function core/modules/locale/src/PoDatabaseWriter.php Set the report array of write operations.
PoDatabaseWriter::writeItem function core/modules/locale/src/PoDatabaseWriter.php Writes the given item.
PoDatabaseWriter::writeItems function core/modules/locale/src/PoDatabaseWriter.php Writes all or the given amount of items.
PoDatabaseWriter::__construct function core/modules/locale/src/PoDatabaseWriter.php Constructor, initialize reporting array.
PoHeader::$authors property core/lib/Drupal/Component/Gettext/PoHeader.php Author(s) of the file.
PoHeader::$pluralForms property core/lib/Drupal/Component/Gettext/PoHeader.php Formula for the plural form.
PoHeader::getPluralForms function core/lib/Drupal/Component/Gettext/PoHeader.php Gets the plural form.
PoHeader::parseArithmetic function core/lib/Drupal/Component/Gettext/PoHeader.php Parses and sanitizes an arithmetic formula into a plural element stack.
PoHeader::parseHeader function core/lib/Drupal/Component/Gettext/PoHeader.php Parses a Gettext Portable Object file header.
PoHeader::parsePluralForms function core/lib/Drupal/Component/Gettext/PoHeader.php Parses a Plural-Forms entry from a Gettext Portable Object file header.
PoHeader::setFromString function core/lib/Drupal/Component/Gettext/PoHeader.php Populate internal values from a string.
PoHeader::setLanguageName function core/lib/Drupal/Component/Gettext/PoHeader.php Set the human readable language name.
PoHeader::setProjectName function core/lib/Drupal/Component/Gettext/PoHeader.php Set the project name.
PoHeader::__construct function core/lib/Drupal/Component/Gettext/PoHeader.php Constructor, creates a PoHeader with default values.
PoHeader::__toString function core/lib/Drupal/Component/Gettext/PoHeader.php Generate a Gettext PO formatted header string based on data set earlier.
PoHeaderTest class core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php Unit tests for the Gettext PO file header handling features.
PoHeaderTest.php file core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php
PoHeaderTest::providerTestPluralsFormula function core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php Data provider for testPluralsFormula.
PoHeaderTest::testPluralsFormula function core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php Tests that plural expressions are evaluated correctly.
PoItem::$source property core/lib/Drupal/Component/Gettext/PoItem.php The source string or array of strings if it has plurals.
PoItem::$translation property core/lib/Drupal/Component/Gettext/PoItem.php The translation string or array of strings if it has plurals.
PoItem::formatSingular function core/lib/Drupal/Component/Gettext/PoItem.php Formats a singular translation.
PoItem::formatString function core/lib/Drupal/Component/Gettext/PoItem.php Formats a string for output on multiple lines.
PoItem::getSource function core/lib/Drupal/Component/Gettext/PoItem.php Gets the source string(s) if the translation has plurals.
PoItem::getTranslation function core/lib/Drupal/Component/Gettext/PoItem.php Gets the translation string(s) if the translation has plurals.
PoItem::isPlural function core/lib/Drupal/Component/Gettext/PoItem.php Get if the translation has plural values.
PoItem::setComment function core/lib/Drupal/Component/Gettext/PoItem.php Set the comment of this translation.
PoItem::setContext function core/lib/Drupal/Component/Gettext/PoItem.php Set the context this translation belongs to.
PoItem::setFromArray function core/lib/Drupal/Component/Gettext/PoItem.php Create the PoItem from a structured array.
PoItem::setLangcode function core/lib/Drupal/Component/Gettext/PoItem.php Set the language code of the current language.
PoItem::setPlural function core/lib/Drupal/Component/Gettext/PoItem.php Set if the translation has plural values.
PoItem::setSource function core/lib/Drupal/Component/Gettext/PoItem.php Sets the source string(s) if the translation has plurals.
PoItem::setTranslation function core/lib/Drupal/Component/Gettext/PoItem.php Sets the translation string(s) if the translation has plurals.
PoItem::__toString function core/lib/Drupal/Component/Gettext/PoItem.php Output the PoItem as a string.
PoMemoryWriter::$items property core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Array to hold all PoItem elements.
PoMemoryWriter::setHeader function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface:setHeader().
PoMemoryWriter::setLangcode function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface:setLangcode().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.