Search for post

  1. Search 7.x for post
  2. Search 9.5.x for post
  3. Search 8.9.x for post
  4. Search 10.3.x for post
  5. Other projects
Title Object type File name Summary
PoStreamInterface::setURI function core/lib/Drupal/Component/Gettext/PoStreamInterface.php Set the URI of the PO stream that is going to be read or written.
PoStreamReader class core/lib/Drupal/Component/Gettext/PoStreamReader.php Implements Gettext PO stream reader.
PoStreamReader.php file core/lib/Drupal/Component/Gettext/PoStreamReader.php
PoStreamReader::$context property core/lib/Drupal/Component/Gettext/PoStreamReader.php Parser context for the stream reader state machine.
PoStreamReader::$currentItem property core/lib/Drupal/Component/Gettext/PoStreamReader.php Current entry being read. Incomplete.
PoStreamReader::$currentPluralIndex property core/lib/Drupal/Component/Gettext/PoStreamReader.php Current plural index for plural translations.
PoStreamReader::$errors property core/lib/Drupal/Component/Gettext/PoStreamReader.php Array of translated error strings recorded on reading this stream so far.
PoStreamReader::$fd property core/lib/Drupal/Component/Gettext/PoStreamReader.php File handle of the current PO stream.
PoStreamReader::$finished property core/lib/Drupal/Component/Gettext/PoStreamReader.php Indicator of whether the stream reading is finished.
PoStreamReader::$header property core/lib/Drupal/Component/Gettext/PoStreamReader.php The PO stream header.
PoStreamReader::$langcode property core/lib/Drupal/Component/Gettext/PoStreamReader.php Language code for the PO stream being read.
PoStreamReader::$lastItem property core/lib/Drupal/Component/Gettext/PoStreamReader.php Object wrapper for the last read source/translation pair.
PoStreamReader::$lineNumber property core/lib/Drupal/Component/Gettext/PoStreamReader.php Source line number of the stream being parsed.
PoStreamReader::$uri property core/lib/Drupal/Component/Gettext/PoStreamReader.php URI of the PO stream that is being read.
PoStreamReader::close function core/lib/Drupal/Component/Gettext/PoStreamReader.php Implements Drupal\Component\Gettext\PoStreamInterface::close().
PoStreamReader::getHeader function core/lib/Drupal/Component/Gettext/PoStreamReader.php
PoStreamReader::getLangcode function core/lib/Drupal/Component/Gettext/PoStreamReader.php
PoStreamReader::getSeek function core/lib/Drupal/Component/Gettext/PoStreamReader.php Gets the pointer position of the current PO stream.
PoStreamReader::getURI function core/lib/Drupal/Component/Gettext/PoStreamReader.php
PoStreamReader::open function core/lib/Drupal/Component/Gettext/PoStreamReader.php Implements Drupal\Component\Gettext\PoStreamInterface::open().
PoStreamReader::parseQuoted function core/lib/Drupal/Component/Gettext/PoStreamReader.php Parses a string in quotes.
PoStreamReader::readHeader function core/lib/Drupal/Component/Gettext/PoStreamReader.php Read the header from the PO stream.
PoStreamReader::readItem function core/lib/Drupal/Component/Gettext/PoStreamReader.php
PoStreamReader::readLine function core/lib/Drupal/Component/Gettext/PoStreamReader.php Reads a line from the PO stream and stores data internally.
PoStreamReader::setHeader function core/lib/Drupal/Component/Gettext/PoStreamReader.php Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader().
PoStreamReader::setItemFromArray function core/lib/Drupal/Component/Gettext/PoStreamReader.php Store the parsed values as a PoItem object.
PoStreamReader::setLangcode function core/lib/Drupal/Component/Gettext/PoStreamReader.php
PoStreamReader::setSeek function core/lib/Drupal/Component/Gettext/PoStreamReader.php Sets the seek position for the current PO stream.
PoStreamReader::setURI function core/lib/Drupal/Component/Gettext/PoStreamReader.php
PoStreamReader::shortenComments function core/lib/Drupal/Component/Gettext/PoStreamReader.php Generates a short, one-string version of the passed comment array.
PoStreamWriter class core/lib/Drupal/Component/Gettext/PoStreamWriter.php Defines a Gettext PO stream writer.
PoStreamWriter.php file core/lib/Drupal/Component/Gettext/PoStreamWriter.php
PoStreamWriter::$fd property core/lib/Drupal/Component/Gettext/PoStreamWriter.php File handle of the current PO stream.
PoStreamWriter::$header property core/lib/Drupal/Component/Gettext/PoStreamWriter.php The Gettext PO header.
PoStreamWriter::$langcode property core/lib/Drupal/Component/Gettext/PoStreamWriter.php The language code of this writer.
PoStreamWriter::$uri property core/lib/Drupal/Component/Gettext/PoStreamWriter.php URI of the PO stream that is being written.
PoStreamWriter::close function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Implements Drupal\Component\Gettext\PoStreamInterface::close().
PoStreamWriter::getHeader function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Gets the PO header of the current stream.
PoStreamWriter::getLangcode function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Gets the current language code used.
PoStreamWriter::getURI function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Implements Drupal\Component\Gettext\PoStreamInterface::getURI().
PoStreamWriter::open function core/lib/Drupal/Component/Gettext/PoStreamWriter.php
PoStreamWriter::setHeader function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Set the PO header for the current stream.
PoStreamWriter::setLangcode function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Set the language code.
PoStreamWriter::setURI function core/lib/Drupal/Component/Gettext/PoStreamWriter.php
PoStreamWriter::write function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Write data to the stream.
PoStreamWriter::writeHeader function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Write the PO header to the stream.
PoStreamWriter::writeItem function core/lib/Drupal/Component/Gettext/PoStreamWriter.php
PoStreamWriter::writeItems function core/lib/Drupal/Component/Gettext/PoStreamWriter.php
PoStreamWriterTest class core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php @coversDefaultClass \Drupal\Component\Gettext\PoStreamWriter
@group Gettext
PoStreamWriterTest.php file core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php

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