Name Specific Functions
phpGedView: Genealogy Viewer Copyright (C) 2002 to 2007 John Finlay and Others
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
This function replaces @N.N. and @P.N. with the language specific translations
determine the Daitch-Mokotoff Soundex code for a name
Extract the surname from a name
This function will extract the surname from an individual name in the form Surname, Given Name All surnames are stored in the global $surnames array It will only get the surnames that start with the letter $alpha For names like van den Burg, it will only return the "Burg" It will work if the surname is all lowercase
get the additional descriptive title of the repository
get the additional descriptive title of the source
Get array of common surnames
This function returns a simple array of the most common surnames found in the individuals list.
Get array of common surnames from index
This function returns a simple array of the most common surnames found in the individuals list.
get first letter
get the first letter of a UTF-8 string
get an array of names from an indivdual record
get the descriptive title of the media object
Get the name from the raw gedcom record. Use the level 2 XXXX parts in preference to the 1 NAME. Replace missing GIVN/SURN with "unknown" placeholders.
get the name for a person
returns the name in the form Given Name Surname If the $NAME_FROM_GEDCOM variable is true then the name is retrieved from the gedcom record not from the database index.
get the descriptive title of the repository
get the person's name as surname, given names
This function will return the given person's name in a format that is good for sorting Surname, given names
get the descriptive title of the source
reverse a name
this function will reverse a name for languages that prefer last name first such as hungarian and chinese
Convert a string to UTF8
This function is a replacement for utf8_decode()
get the sortable name from the gedcom name
Put all characters in a string in lowercase
This function is a replacement for strtolower() and will put all characters in lowercase
Put all characters in a string in uppercase
This function is a replacement for strtoupper() and will put all characters in uppercase
strip name prefixes
this function strips the prefixes of lastnames get rid of jr. Jr. Sr. sr. II, III and van, van der, de lowercase surname prefixes a . and space must be behind a-z to ensure shortened prefixes and multiple prefixes are removed
add a surname to the surnames array for counting
Documentation generated on Wed, 28 Mar 2007 09:54:19 -0600 by phpDocumentor 1.3.1