PoStreamWriter

Defines a Gettext PO stream writer.

Hierarchy

File

core/lib/Drupal/Component/Gettext/PoStreamWriter.php, line 8

Namespace

Drupal\Component\Gettext

Members

Name Modifiers Type Description
PoStreamWriter::$_fd private property File handle of the current PO stream.
PoStreamWriter::$_header private property The Gettext PO header.
PoStreamWriter::$_uri private property URI of the PO stream that is being written.
PoStreamWriter::close public function Implements Drupal\Component\Gettext\PoStreamInterface::close(). Overrides PoStreamInterface::close
PoStreamWriter::getHeader public function Gets the PO header of the current stream. Overrides PoMetadataInterface::getHeader
PoStreamWriter::getLangcode public function Gets the current language code used. Overrides PoMetadataInterface::getLangcode
PoStreamWriter::getURI public function Implements Drupal\Component\Gettext\PoStreamInterface::getURI(). Overrides PoStreamInterface::getURI
PoStreamWriter::open public function Open the stream. Set the URI for the stream earlier with setURI(). Overrides PoStreamInterface::open
PoStreamWriter::setHeader public function Set the PO header for the current stream. Overrides PoMetadataInterface::setHeader
PoStreamWriter::setLangcode public function Set the language code. Overrides PoMetadataInterface::setLangcode
PoStreamWriter::setURI public function Set the URI of the PO stream that is going to be read or written. Overrides PoStreamInterface::setURI
PoStreamWriter::write private function Write data to the stream.
PoStreamWriter::writeHeader private function Write the PO header to the stream.
PoStreamWriter::writeItem public function Writes the given item. Overrides PoWriterInterface::writeItem
PoStreamWriter::writeItems public function Writes all or the given amount of items. Overrides PoWriterInterface::writeItems
doc_Drupal
2016-10-29 09:34:47
Comments
Leave a Comment

Please login to continue.