class CountryName - jcobban/Genealogy GitHub Wiki
class CountryName
Up: Object-Oriented Access to Database Records
This class is derived from Record to implement the logical interface to a record in the Country Name table (CountryNames). Each entry in this table contains the description of the name of a Country in a specific language.
Fields
This record presents the following fields:
name | description | synonyms |
---|---|---|
'code3166_1' | ISO 3166-1 alpha-2 country code | 'cc' |
'code639_1' | ISO 639-1 language code | 'lang' |
'name' | name | |
'article' | article | 'the' |
'possessive' | possessive | 'of' |
Table of Contents
- new CountryName($parms)
- $countryName->getName()
- $countryName->getCountry()
- $countryName->getLanguage()
- $countryName->get($fieldname)
Next: new CountryName($parms)