Search for read
- Search 7.x for read
- Search 9.5.x for read
- Search 8.9.x for read
- Search 10.3.x for read
- Search main for read
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| PoDatabaseReader | class | core/ |
Gettext PO reader working with the locale module database. |
| PoDatabaseReader.php | file | core/ |
|
| PoDatabaseReader::$langcode | property | core/ |
Language code of the language being read from the database. |
| PoDatabaseReader::$options | property | core/ |
An associative array indicating which type of strings should be read. |
| PoDatabaseReader::$result | property | core/ |
Store the result of the query so it can be iterated later. |
| PoDatabaseReader::getHeader | function | core/ |
Get header metadata. |
| PoDatabaseReader::getLangcode | function | core/ |
Get language code. |
| PoDatabaseReader::getOptions | function | core/ |
Get the options used by the reader. |
| PoDatabaseReader::loadStrings | function | core/ |
Builds and executes a database query based on options set earlier. |
| PoDatabaseReader::readItem | function | core/ |
Reads and returns a PoItem (source/translation pair). |
| PoDatabaseReader::readString | function | core/ |
Get the database result resource for the given language and options. |
| PoDatabaseReader::setHeader | function | core/ |
Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader(). |
| PoDatabaseReader::setLangcode | function | core/ |
Set language code. |
| PoDatabaseReader::setOptions | function | core/ |
Set the options for the current reader. |
| PoDatabaseReader::__construct | function | core/ |
Constructor, initializes with default options. |
| PoReaderInterface | interface | core/ |
Shared interface definition for all Gettext PO Readers. |
| PoReaderInterface.php | file | core/ |
|
| PoReaderInterface::readItem | function | core/ |
Reads and returns a PoItem (source/translation pair). |
| 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. |
| PoStreamReaderTest | class | core/ |
Unit tests for the Gettext PO file header handling features. |
| PoStreamReaderTest.php | file | core/ |
|
| PoStreamReaderTest::testOpeningFileError | function | core/ |
Validates that calling open with an invalid URI throws an exception. |
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.