class Person - jcobban/Genealogy GitHub Wiki

Up: Object-Oriented Access to Database Records

Source Code

This class is derived from Record to implement the logical interface to a record in the Person table (Persons or tblIR). Each entry in this table contains the description of a Person in the family tree.

Fields

This record presents the following fields:

Person description
'id' internal auto-increment sequence
'idir' external unique numeric identifier
'fsid' FamilySearch identifier
'gender' gender. 0 for male, 1 for female, 3 for cis, trans, or unknown
'living' 1 if known to still be alive
'idmrpref' numeric key of instance of class Family for preferred marriage
'idmrparents' numeric key of instance of class Family for preferred parents
'idar' numeric key of instance of class Address
'ancinterest' ancestor interest string
'decinterest' descendant interest string
'ancestralref' ancestral reference string
'notes' extended text of general notes. This may contain HTML.
'references' extended text of references. This may contain HTML.
'medical' extended text of medical notes. This may contain HTML.
'added' the date this record was added
'addedtime' the time this record was added
'updated' the date this record was last updated
'updatedtime' the time this records was last updated
'nevermarried' 1 if never married
'intellishare' intellishare
'private' 1 if private
'dna' dna
'fssync' FamilySearch synchronization
'fsdups' FamilySearch duplicates
'fsordinance' FamilySearch ordinance
'fslinks' FamilySearch links

Constants

This class defines the following constants which indicate the purpose to which the record is put:

constant description value
Person::MALE male 0
Person::FEMALE female 1
Person::UNKNOWN unknown 2
Person::NAME_INCLUDE_DATES name_include_dates 1
Person::NAME_SURNAME_FIRST name_surname_first 2
Person::NAME_INCLUDE_LOCS name_include_locs 4

Table of Contents

Next: new Person($parms)