$entry
$entry : string
Class ParseKeggAbstractManager KEGG describes metabolism through several files - compound, enzyme, reaction, ortholog, genome - written in one same grammar : a label in the first twelve columns, its data from the thirteenth, a line leaving the label column blank continuing the field above it, and "///" closing the record. That grammar and the ENTRY and NAME fields every record carries live here; each subclass adds the fields of its own file.
Where Legacy/kegg.inc.php kept one flag per field and closed a field only when the next one opened, the fields are gathered first and read afterwards, which spares each subclass the three-branch dance and closes the last field of a record whether or not "///" follows it.
readEntryId(string $sData) : string
Reads the identifier out of an ENTRY line. Its last word names the kind of record rather than the record itself - "C00031 Compound", "EC 2.7.1.1 Enzyme" - so the identifier is what comes before it, which for an enzyme is the two words "EC" and its number.
| string | $sData |