PoStreamReader::readLine
private function PoStreamReader::readLine
private PoStreamReader::readLine()
Reads a line from the PO stream and stores data internally.
Expands $this->_current_item based on new data for the current item. If this line ends the current item, it is saved with setItemFromArray() with data from $this->_current_item.
An internal state machine is maintained in this reader using $this->_context as the reading state. PO items are in between COMMENT states (when items have at least one line or comment in between them) or indicated by MSGSTR or MSGSTR_ARR followed immediately by an MSGID or MSGCTXT (when items closely follow each other).
Return value
FALSE if an error was logged, NULL otherwise. The errors are considered non-blocking, so reading can continue, while the errors ar