Citation::getRecordType - jcobban/Genealogy GitHub Wiki
Citation::getRecordType
Up: class Citation
This returns a string identifying the class of the record derived from class Record that contains the description of the fact or event which is documented by this Citation. The string value returned is determined by the 'type' field as documented in the description of class Citation.
$record = $citation->getRecordType();
The returned value is one of 'Person', 'Name', 'Child', 'Family', 'Event', or '' if the type field is invalid.
Next: $citation->getPerson()