Record::isValid - jcobban/Genealogy GitHub Wiki

$record->isValid()

Up: class Record

This method returns true if construction of this record completed normally, otherwise it returns false. If this method returns false, call $record->getErrors() to get a string explaining why the record could not be completed. This will normally describe any errors in the parameters.

Next: $record->setTemplate($template)