PoDatabaseReader::readString

private PoDatabaseReader::readString()

Get the database result resource for the given language and options.

File

core/modules/locale/src/PoDatabaseReader.php, line 152

Class

PoDatabaseReader
Gettext PO reader working with the locale module database.

Namespace

Drupal\locale

Code

private function readString() {
  if (!isset($this->result)) {
    $this->result = $this->loadStrings();
  }
  return array_shift($this->result);
}
doc_Drupal
2016-10-29 09:34:24
Comments
Leave a Comment

Please login to continue.