Privacy Functions
See http://www.phpgedview.net/privacy.php for more information on privacy in PhpGedView
phpGedView: Genealogy Viewer Copyright (C) 2002 to 2005 PGV Development Team
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
check if the details of the GEDCOM record should be shown
This function checks if the details of the given GEDCOM record represented by $indirec should be shown. This function has been depricated and now all it does is looks up the GEDCOM XRef ID and type from the gedcom record and pass them as parameters to the displayDetailsByID function.
check if details for a GEDCOM XRef ID should be shown
This function uses the settings in the global variables above to determine if the current user has sufficient privileges to access the GEDCOM resource.
Check fact record for editing restrictions
Checks if the user is allowed to change fact information, based on the existence of the RESN tag in the fact record.
Check fact record for viewing restrictions
Checks if the user is allowed to view fact information, based on the existence of the RESN tag in the fact record.
get current user's access level
checks the current user and returns their privacy access level
check if a person is dead
this function will read a person's gedcom record and try to determine whether the person is dead or not. It checks several parameters to determine death status in the following order:
remove all private information from a gedcom record
this function will analyze and gedcom record and privatize it by removing all private information that should be hidden from the user trying to access it.
check if the given GEDCOM fact for the given individual, family, or source XRef ID should be shown
This function uses the settings in the global variables above to determine if the current user has sufficient privileges to access the GEDCOM resource. It first checks the $global_facts array for admin override settings for the fact.
check if the details of given GEDCOM fact for the given individual, family, or source XRef ID should be shown
This function uses the settings in the global variables above to determine if the current user has sufficient privileges to access the GEDCOM resource. It first checks the $global_facts array for admin override settings for the fact.
check if the name of the GEDCOM record should be shown
This function checks if the name of the given GEDCOM record represented by $indirec should be shown. This function has been depricated and now all it does is looks up the GEDCOM XRef ID and type from the gedcom record and pass them as parameters to the
function.check if the name for a GEDCOM XRef ID should be shown
This function uses the settings in the global variables above to determine if the current user has sufficient privileges to access the GEDCOM resource. It first checks the $SHOW_LIVING_NAMES variable to see if names are shown to the public. If they are then this function will always return true. If the name is hidden then all relationships connected with the individual are also hidden such that arriving at this record results in a dead end.
Documentation generated on Wed, 28 Mar 2007 09:54:20 -0600 by phpDocumentor 1.3.1