Citation::getText - jcobban/Genealogy GitHub Wiki

Citation::getText

Up: class Citation

This method returns the contents of the srcDetailText field which contains a textual quotation from the documentary source that contains the information to support the event or fact cited.

    $text           = $citation->getText();

The return value is a string. If the value of the srcDetailText field is null, this returns an empty string.

Next: $citation->getNotes()