class Surname - jcobban/Genealogy GitHub Wiki
Up: Object-Oriented Access to Database Records
This class is derived from Record to implement the logical interface to a record in the Surname table (Surnames
or tblNR
). Each entry in this table contains the description of a family name or surname.
Fields
This record presents the following fields:
Surname | description | synonyms |
---|---|---|
'idnr' | unique numeric key. This is no longer used because it would permit multiple records with the same surname value to be created. | |
'surname' | surname, unique key | |
'soundslike' | SOUNDEX code used if client specifically requests a search by SOUNDEX | |
'pattern' | regular expression pattern used for default search. If this is empty the default search is for exact match ignoring case. | |
'notes' | Rich text notes about the surname. |
The records in this table are managed by the Surname Page.
Table of Contents
- new Surname($parms)
- $surname->getName()
- $surname->getSurname()
- $surname->getCount()
- $surname->next()
- $surname->save($xml)
- Surname::getInitials($options)
Next: new Surname($parms)