| [ PHPXref.com ] | [ Generated: Sun Jul 20 19:39:24 2008 ] | [ PhpGedView 4.0 ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Source view] [Print]
Functions used for charts phpGedView: Genealogy Viewer Copyright (C) 2002 to 2003 John Finlay and Others
| Version: | $Id: functions_charts.php,v 1.1.2.54 2006/06/05 19:37:19 opus27 Exp $ |
| File Size: | 1197 lines (44 kb) |
| Included or required: | 10 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file includes/person_class.php |
| print_sosa_number($sosa, $pid = "") X-Ref |
| print a table cell with sosa number param: int $sosa param: string $pid optional pid |
| print_family_header($famid) X-Ref |
| print family header param: string $famid family gedcom ID |
| print_family_parents($famid, $sosa = 0, $label="", $parid="", $gparid="", $personcount="1") X-Ref |
| print the parents table for a family param: string $famid family gedcom ID param: int $sosa optional child sosa number param: string $label optional indi label (descendancy booklet) param: string $parid optional parent ID (descendancy booklet) param: string $gparid optional gd-parent ID (descendancy booklet) |
| print_family_children($famid, $childid = "", $sosa = 0, $label="", $personcount="1") X-Ref |
| print the children table for a family param: string $famid family gedcom ID param: string $childid optional child ID param: int $sosa optional child sosa number param: string $label optional indi label (descendancy booklet) |
| print_family_facts($famid, $sosa = 0) X-Ref |
| print the facts table for a family param: string $famid family gedcom ID param: int $sosa optional child sosa number |
| print_sosa_family($famid, $childid, $sosa, $label="", $parid="", $gparid="", $personcount="1") X-Ref |
| print a family with Sosa-Stradonitz numbering system ($rootid=1, father=2, mother=3 ...) param: string $famid family gedcom ID param: string $childid tree root ID param: string $sosa starting sosa number param: string $label optional indi label (descendancy booklet) param: string $parid optional parent ID (descendancy booklet) param: string $gparid optional gd-parent ID (descendancy booklet) |
| check_rootid($rootid) X-Ref |
| check root id for pedigree tree param: string $rootid root ID return: string $rootid validated root ID |
| ancestry_array($rootid, $maxgen=0) X-Ref |
| creates an array with all of the individual ids to be displayed on an ascendancy chart the id in position 1 is the root person. The other positions are filled according to the following algorithm if an individual is at position $i then individual $i's father will occupy position ($i*2) and $i's mother will occupy ($i*2)+1 param: string $rootid return: array $treeid |
| pedigree_array($rootid) X-Ref |
| creates an array with all of the individual ids to be displayed on the pedigree chart the id in position 0 is the root person. The other positions are filled according to the following algorithm if an individual is at position $i then individual $i's father will occupy position ($i*2)+1 and $i's mother will occupy ($i*2)+2 param: string $rootid return: array $treeid |
| get_children_ids($famid) X-Ref |
| find all children from a family param: string $famid family ID return: array array of child ID |
| print_url_arrow($id, $url, $label, $dir=2) X-Ref |
| print an arrow to a new url param: string $id Id used for arrow img name (must be unique on the page) param: string $url target url param: string $label arrow label param: string $dir arrow direction 0=left 1=right 2=up 3=down (default=2) |
| get_sosa_name( $sosa ) X-Ref |
| builds and returns sosa relationship name in the active language param: string $sosa sosa number |
| print_childbox_popup($rootid, $indirec, $url) X-Ref |
| print a popup menu for descendants so that we can move down the tree param: string $rootid the Gedcom Xref ID of the person to print param: string $indirec the rootid Gedcom record param: string $url the rootid action url |
| find_last_sfam($pid) X-Ref |
| find last family ID where this person is a spouse param: string $pid individual ID return: string last sfam ID |
| find_last_spouse($pid) X-Ref |
| find last spouse for this person param: string $pid individual ID return: string last spouse ID |
| print_cousins($famid, $personcount="1") X-Ref |
| print cousins list param: string $famid family ID |
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |