interface PoReaderInterface in Localization update 7.2
Shared interface definition for all Gettext PO Readers.
Hierarchy
- interface \PoMetadataInterface
- interface \PoReaderInterface
Expanded class hierarchy of PoReaderInterface
All classes that implement PoReaderInterface
File
- includes/
gettext/ PoReaderInterface.php, line 11 - Definition of Drupal\Component\Gettext\PoReaderInterface.
View source
interface PoReaderInterface extends PoMetadataInterface {
/**
* Reads and returns a PoItem (source/translation pair).
*
* @return PoItem
* Wrapper for item data instance.
*/
public function readItem();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PoMetadataInterface:: |
public | function | Get header metadata. | 5 |
PoMetadataInterface:: |
public | function | Get language code. | 5 |
PoMetadataInterface:: |
public | function | Set header metadata. | 5 |
PoMetadataInterface:: |
public | function | Set language code. | 5 |
PoReaderInterface:: |
public | function | Reads and returns a PoItem (source/translation pair). | 2 |