Search for post
Title | Object type | File name | Summary |
---|---|---|---|
PoStreamReader | class | core/ |
Implements Gettext PO stream reader. |
PoStreamReader.php | file | core/ |
|
PoStreamReader::$context | property | core/ |
Parser context for the stream reader state machine. |
PoStreamReader::$currentItem | property | core/ |
Current entry being read. Incomplete. |
PoStreamReader::$currentPluralIndex | property | core/ |
Current plural index for plural translations. |
PoStreamReader::$errors | property | core/ |
Array of translated error strings recorded on reading this stream so far. |
PoStreamReader::$fd | property | core/ |
File handle of the current PO stream. |
PoStreamReader::$finished | property | core/ |
Indicator of whether the stream reading is finished. |
PoStreamReader::$header | property | core/ |
The PO stream header. |
PoStreamReader::$langcode | property | core/ |
Language code for the PO stream being read. |
PoStreamReader::$lastItem | property | core/ |
Object wrapper for the last read source/translation pair. |
PoStreamReader::$lineNumber | property | core/ |
Source line number of the stream being parsed. |
PoStreamReader::$uri | property | core/ |
URI of the PO stream that is being read. |
PoStreamReader::close | function | core/ |
Implements Drupal\Component\Gettext\PoStreamInterface::close(). |
PoStreamReader::getHeader | function | core/ |
Get header metadata. |
PoStreamReader::getLangcode | function | core/ |
Get language code. |
PoStreamReader::getSeek | function | core/ |
Gets the pointer position of the current PO stream. |
PoStreamReader::getURI | function | core/ |
Gets the URI of the PO stream that is being read or written. |
PoStreamReader::open | function | core/ |
Implements Drupal\Component\Gettext\PoStreamInterface::open(). |
PoStreamReader::parseQuoted | function | core/ |
Parses a string in quotes. |
PoStreamReader::readHeader | function | core/ |
Read the header from the PO stream. |
PoStreamReader::readItem | function | core/ |
Reads and returns a PoItem (source/translation pair). |
PoStreamReader::readLine | function | core/ |
Reads a line from the PO stream and stores data internally. |
PoStreamReader::setHeader | function | core/ |
Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader(). |
PoStreamReader::setItemFromArray | function | core/ |
Store the parsed values as a PoItem object. |
PoStreamReader::setLangcode | function | core/ |
Set language code. |
PoStreamReader::setSeek | function | core/ |
Sets the seek position for the current PO stream. |
PoStreamReader::setURI | function | core/ |
Set the URI of the PO stream that is going to be read or written. |
PoStreamReader::shortenComments | function | core/ |
Generates a short, one-string version of the passed comment array. |
PoStreamWriter | class | core/ |
Defines a Gettext PO stream writer. |
PoStreamWriter.php | file | core/ |
|
PoStreamWriter::$fd | property | core/ |
File handle of the current PO stream. |
PoStreamWriter::$header | property | core/ |
The Gettext PO header. |
PoStreamWriter::$langcode | property | core/ |
The language code of this writer. |
PoStreamWriter::$uri | property | core/ |
URI of the PO stream that is being written. |
PoStreamWriter::close | function | core/ |
Implements Drupal\Component\Gettext\PoStreamInterface::close(). |
PoStreamWriter::getHeader | function | core/ |
Gets the PO header of the current stream. |
PoStreamWriter::getLangcode | function | core/ |
Gets the current language code used. |
PoStreamWriter::getURI | function | core/ |
Implements Drupal\Component\Gettext\PoStreamInterface::getURI(). |
PoStreamWriter::open | function | core/ |
Open the stream. Set the URI for the stream earlier with setURI(). |
PoStreamWriter::setHeader | function | core/ |
Set the PO header for the current stream. |
PoStreamWriter::setLangcode | function | core/ |
Set the language code. |
PoStreamWriter::setURI | function | core/ |
Set the URI of the PO stream that is going to be read or written. |
PoStreamWriter::write | function | core/ |
Write data to the stream. |
PoStreamWriter::writeHeader | function | core/ |
Write the PO header to the stream. |
PoStreamWriter::writeItem | function | core/ |
Writes the given item. |
PoStreamWriter::writeItems | function | core/ |
Writes all or the given amount of items. |
PoStreamWriterTest | class | core/ |
@coversDefaultClass \Drupal\Component\Gettext\PoStreamWriter @group Gettext |
PoStreamWriterTest.php | file | core/ |
|
PoStreamWriterTest::$poFile | property | core/ |
The mock po file. |
Pagination
- Previous page
- Page 9
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.