PoStreamReader::$_current_item

Current entry being read. Incomplete. Type: array File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 42 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_current_item = array();

PoStreamReader::$_context

Parser context for the stream reader state machine. Possible contexts are: 'COMMENT' (#) 'MSGID' (msgid) 'MSGID_PLURAL' (msgid_plural) 'MSGCTXT' (msgctxt) 'MSGSTR' (msgstr or msgstr[]) 'MSGSTR_ARR' (msgstr_arg) Type: string File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 35 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_context = 'COMMENT';

PoStreamReader

Implements Gettext PO stream reader. The PO file format parsing is implemented according to the documentation at http://www.gnu.org/software/gettext/manual/gettext.html#PO-Files Hierarchy class \Drupal\Component\Gettext\PoStreamReader implements PoReaderInterface, PoStreamInterface File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 13 Namespace Drupal\Component\Gettext Members Name Modifiers Type Description PoStreamReader::$_context private property Parser

PoStreamInterface::setURI

public PoStreamInterface::setURI($uri) Set the URI of the PO stream that is going to be read or written. Parameters $uri: URI string to set for this stream. File core/lib/Drupal/Component/Gettext/PoStreamInterface.php, line 37 Class PoStreamInterface Common functions for file/stream based PO readers/writers. Namespace Drupal\Component\Gettext Code public function setURI($uri);

PoStreamInterface::open

public PoStreamInterface::open() Open the stream. Set the URI for the stream earlier with setURI(). File core/lib/Drupal/Component/Gettext/PoStreamInterface.php, line 16 Class PoStreamInterface Common functions for file/stream based PO readers/writers. Namespace Drupal\Component\Gettext Code public function open();

PoStreamInterface::getURI

public PoStreamInterface::getURI() Gets the URI of the PO stream that is being read or written. Return value URI string for this stream. File core/lib/Drupal/Component/Gettext/PoStreamInterface.php, line 29 Class PoStreamInterface Common functions for file/stream based PO readers/writers. Namespace Drupal\Component\Gettext Code public function getURI();

PoStreamInterface::close

public PoStreamInterface::close() Close the stream. File core/lib/Drupal/Component/Gettext/PoStreamInterface.php, line 21 Class PoStreamInterface Common functions for file/stream based PO readers/writers. Namespace Drupal\Component\Gettext Code public function close();

PoStreamInterface

Common functions for file/stream based PO readers/writers. Hierarchy interface \Drupal\Component\Gettext\PoStreamInterface See also PoReaderInterface PoWriterInterface File core/lib/Drupal/Component/Gettext/PoStreamInterface.php, line 11 Namespace Drupal\Component\Gettext Members Name Modifiers Type Description PoStreamInterface::close public function Close the stream. PoStreamInterface::getURI public function Gets the URI of the PO stream that is being read or

PoReaderInterface::readItem

public PoReaderInterface::readItem() Reads and returns a PoItem (source/translation pair). Return value \Drupal\Component\Gettext\PoItem Wrapper for item data instance. File core/lib/Drupal/Component/Gettext/PoReaderInterface.php, line 16 Class PoReaderInterface Shared interface definition for all Gettext PO Readers. Namespace Drupal\Component\Gettext Code public function readItem();

PoReaderInterface

Shared interface definition for all Gettext PO Readers. Hierarchy interface \Drupal\Component\Gettext\PoMetadataInterfaceinterface \Drupal\Component\Gettext\PoReaderInterface File core/lib/Drupal/Component/Gettext/PoReaderInterface.php, line 8 Namespace Drupal\Component\Gettext Members Name Modifiers Type Description PoMetadataInterface::getHeader public function Get header metadata. PoMetadataInterface::getLangcode public function Get language code. PoMetadat