Search for write

  1. Search 7.x for write
  2. Search 9.5.x for write
  3. Search 8.9.x for write
  4. Search 11.x for write
  5. Other projects
Title Object type File name Summary
PoDatabaseWriter::__construct function core/modules/locale/src/PoDatabaseWriter.php Constructor, initialize reporting array.
PoMemoryWriter class core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Defines a Gettext PO memory writer, to be used by the installer.
PoMemoryWriter.php file core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
PoMemoryWriter::$items property core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Array to hold all PoItem elements.
PoMemoryWriter::getData function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Get all stored PoItem's.
PoMemoryWriter::getHeader function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface:getHeader().
PoMemoryWriter::getLangcode function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface:getLangcode().
PoMemoryWriter::setHeader function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface:setHeader().
PoMemoryWriter::setLangcode function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Implements Drupal\Component\Gettext\PoMetadataInterface:setLangcode().
PoMemoryWriter::writeItem function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Writes the given item.
PoMemoryWriter::writeItems function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Writes all or the given amount of items.
PoMemoryWriter::__construct function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Constructor, initialize empty items.
PoStreamWriter class core/lib/Drupal/Component/Gettext/PoStreamWriter.php Defines a Gettext PO stream writer.
PoStreamWriter.php file core/lib/Drupal/Component/Gettext/PoStreamWriter.php
PoStreamWriter::$fd property core/lib/Drupal/Component/Gettext/PoStreamWriter.php File handle of the current PO stream.
PoStreamWriter::$header property core/lib/Drupal/Component/Gettext/PoStreamWriter.php The Gettext PO header.
PoStreamWriter::$langcode property core/lib/Drupal/Component/Gettext/PoStreamWriter.php The language code of this writer.
PoStreamWriter::$uri property core/lib/Drupal/Component/Gettext/PoStreamWriter.php URI of the PO stream that is being written.
PoStreamWriter::close function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Implements Drupal\Component\Gettext\PoStreamInterface::close().
PoStreamWriter::getHeader function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Gets the PO header of the current stream.
PoStreamWriter::getLangcode function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Gets the current language code used.
PoStreamWriter::getURI function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Implements Drupal\Component\Gettext\PoStreamInterface::getURI().
PoStreamWriter::open function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Open the stream. Set the URI for the stream earlier with setURI().
PoStreamWriter::setHeader function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Set the PO header for the current stream.
PoStreamWriter::setLangcode function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Set the language code.
PoStreamWriter::setURI function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Set the URI of the PO stream that is going to be read or written.
PoStreamWriter::write function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Write data to the stream.
PoStreamWriter::writeHeader function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Write the PO header to the stream.
PoStreamWriter::writeItem function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Writes the given item.
PoStreamWriter::writeItems function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Writes all or the given amount of items.
PoStreamWriterTest class core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php @coversDefaultClass \Drupal\Component\Gettext\PoStreamWriter
@group Gettext
PoStreamWriterTest.php file core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php
PoStreamWriterTest::$poFile property core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php The mock po file.
PoStreamWriterTest::$poWriter property core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php The PO writer object under test.
PoStreamWriterTest::providerWriteData function core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php
PoStreamWriterTest::setUp function core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php
PoStreamWriterTest::testCloseException function core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php @covers ::close
PoStreamWriterTest::testGetUriException function core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php @covers ::getURI
PoStreamWriterTest::testWriteItem function core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php @covers ::writeItem
@dataProvider providerWriteData
PoWriterInterface interface core/lib/Drupal/Component/Gettext/PoWriterInterface.php Shared interface definition for all Gettext PO Writers.
PoWriterInterface.php file core/lib/Drupal/Component/Gettext/PoWriterInterface.php
PoWriterInterface::writeItem function core/lib/Drupal/Component/Gettext/PoWriterInterface.php Writes the given item.
PoWriterInterface::writeItems function core/lib/Drupal/Component/Gettext/PoWriterInterface.php Writes all or the given amount of items.
ReadOnlyStorage::write function core/lib/Drupal/Core/Config/ReadOnlyStorage.php Writes configuration data to the storage.
ReadOnlyStorageTest::testWriteOperations function core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php @covers ::write
@covers ::delete
@covers ::rename
@covers ::deleteAll
ReadOnlyStorageTest::writeMethodsProvider function core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php Provide the methods that throw an exception.
ReadOnlyStream::stream_write function core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php Support for fwrite(), file_put_contents() etc.
RecipeConfigStorageWrapper::write function core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php Writes configuration data to the storage.
RecipeExtensionConfigStorage::write function core/lib/Drupal/Core/Recipe/RecipeExtensionConfigStorage.php Writes configuration data to the storage.
RecipeOverrideConfigStorage::write function core/lib/Drupal/Core/Recipe/RecipeOverrideConfigStorage.php Writes configuration data to the storage.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.