PoStreamReader::close

public PoStreamReader::close() Implements Drupal\Component\Gettext\PoStreamInterface::close(). Throws Exception If the stream is not open. Overrides PoStreamInterface::close File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 168 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code public function close() { if ($this->_fd) { fclose($this->_fd); } else { throw new \Exception('Cannot close stream that is not op

PoStreamReader::$_uri

URI of the PO stream that is being read. Type: string File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 56 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_uri = '';

PoStreamReader::$_line_number

Source line number of the stream being parsed. Type: int File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 20 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_line_number = 0;

PoStreamReader::$_last_item

Object wrapper for the last read source/translation pair. Type: \Drupal\Component\Gettext\PoItem File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 84 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_last_item;

PoStreamReader::$_langcode

Language code for the PO stream being read. Type: string File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 63 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_langcode = NULL;

PoStreamReader::$_header

The PO stream header. Type: \Drupal\Component\Gettext\PoHeader File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 77 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_header;

PoStreamReader::$_finished

Indicator of whether the stream reading is finished. Type: bool File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 91 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_finished;

PoStreamReader::$_fd

File handle of the current PO stream. Type: resource File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 70 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_fd;

PoStreamReader::$_errors

Array of translated error strings recorded on reading this stream so far. Type: array File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 98 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_errors;

PoStreamReader::$_current_plural_index

Current plural index for plural translations. Type: int File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 49 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_current_plural_index = 0;