class County - jcobban/Genealogy GitHub Wiki
class County
Up: Object-Oriented Access to Database Records
This class is derived from Record to implement the logical interface to a record in the County table (Counties). Each entry in this table contains the description of a County
.
Fields
This record presents the following fields:
name | description | synonyms |
---|---|---|
'domain' | domain identifier | 'cc', 'countrycode', 'province' |
'code' | unique code within Domain to identify County |
'county' |
'name' | name | |
'startyear' | start year yyyy | |
'endyear' | end year yyyy |
Note that 'cc' and 'countrycode' are the first 2 characters of 'domain' and 'province' runs from the 3rd character to the end of 'domain'.
Table of Contents
- new County($parms)
- $county->getDomain($domain)
- $county->getName()
- $county->get($fieldname)
- $county->set($fieldname, $value)
- $county->save($xml)
- $county->delete($xml)
Next: new County($parms)