private function PoDatabaseReader::readString in Localization update 7.2
Get the database result resource for the given language and options.
1 call to PoDatabaseReader::readString()
- PoDatabaseReader::readItem in includes/
locale/ PoDatabaseReader.php - Implements PoReaderInterface::readItem().
File
- includes/
locale/ PoDatabaseReader.php, line 177 - Definition of PoDatabaseReader.
Class
- PoDatabaseReader
- Gettext PO reader working with the locale module database.
Code
private function readString() {
if (!isset($this->_result)) {
$this->_result = $this
->loadStrings();
}
return array_shift($this->_result);
}