Record::isExisting - jcobban/Genealogy GitHub Wiki

$record->isExisting()

Up: class Record

This method returns true if this Record corresponds to a table row that is already in the database, otherwise it returns false.

If this is true the method $record->save() updates the database using a SQL UPDATE command, otherwise it uses a SQL INSERT command to create a new record. After saving the record $record->isExisting() returns true.

Next: $record->isValid()