Record::__toString - jcobban/Genealogy GitHub Wiki

$record->__toString()

Up: class Record

This "magic method" is implemented so that an instance of Record can be used anywhere that a string is permited.

print $record;

This method returns the value of $record->getName().

Next: $record->isExisting()