News About Features Press Download Docs - Wiki - Installation - Upgrading - Media - Readme - Privacy - Developers Support Edit Online Contributing |
PhpGedView Global Arrays
This page lists all of the global arrays used in the program and describes how they are defined. $gedcoms Array $GEDCOMS = array(); $gedarray = array(); $gedarray["gedcom"] = "test.ged"; $gedarray["config"] = "${INDEX_DIRECTORY}test.ged_conf.php"; $gedarray["privacy"] = "${INDEX_DIRECTORY}test.ged_priv.php"; $gedarray["title"] = "Finlay Family Test"; $gedarray["path"] = "C:/Documents and Settings/jrf35/My Documents/test.ged"; $gedarray["commonsurnames"] = "BOYD, Bushnell, CHRISTENSEN, COATES, Corn, CUTLER, Davis, "; $GEDCOMS["test.ged"] = $gedarray;^TOC $user Array $user["username"] = "Username"; $user["fullname"] = "Fullname"); $user["gedcomid"][gedcomfile1] = "I1"; $user["gedcomid"][gedcomfile2] = "I2"; $user["gedcomid"][gedcomfile3] = "I1"; $user["rootid"][gedcomfile1] = "I1"; $user["rootid"][gedcomfile2] = "I2"; $user["password"] = crypt("password"); $user["canadmin"] = true|false; $user["canedit"][gedcomfile1] = none|accept|edit|access; $user["canedit"][gedcomfile2] = none|accept|edit|access; $user["canedit"][gedcomfile3] = none|accept|edit|access; $user["email"] = "mail@email.com"; $user["verified"] = yes|no; $user["verified_by_admin"] = yes|no; $user["language"] = ""|english|spanish|german|...; $user["pwrequested"] = yes|no; $user["reg_timestamp"] = timestamp of regsitration date; $user["reg_hashcode"] = crypt(random string); $user["theme"] = ""|standard|ocean|...; $user["loggedin"] = Y|N; $user["sessiontime"] = timestamp when session should expire; $user["contactmethod"] = messaging|messaging2|messaging3|mailto|none;^TOC $users Array $users["username"] = $userarray;$userarray is an array of the form $user. ^TOC $indi Array $indi["name"] = "Surname, Given Names"; $indi["gedcom"] = "0 @I1@ INDI..."; //-- raw gedcom record from file $indi["isdead"] = 1; $indi["file"] = "test.ged";^TOC $indilist Array $indilist["I1"] = $indi;$indi is an array of the form $indi. ^TOC $family Array $family["name"] = "Surname, Given Names"; $family["gedcom"] = "0 @I1@ INDI..."; //-- raw gedcom record from file $family["HUSB"] = "I1"; $family["WIFE"] = "I2"; $family["file"] = "test.ged";^TOC $famlist Array $famlist["F1"] = $family;$family is an array of the form $family. ^TOC Copyright © 2009 PhpGedView Team Members
|