/includes/functions_print_lists.php

Description

Functions for printing lists

Various printing functions for printing lists used on the indilist, famlist, find, and search pages.

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

  • version: $Id: functions_print_lists.php 1002 2007-03-27 02:27:19Z kosherjava $
Includes
require_once ("includes/person_class.php") (line 35)

Functions for printing lists

Various printing functions for printing lists used on the indilist, famlist, find, and search pages.

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

  • version: $Id: functions_print_lists.php 1002 2007-03-27 02:27:19Z kosherjava $
Functions
get_align (line 1395)

check string align direction depending on language and rtl config

  • return: left|right
string get_align (string $txt)
  • string $txt: string argument
load_behaviour (line 1413)

load behaviour js data to be called at the end just before </body> tag

void load_behaviour ([none 0 = ])
  • none 0
print_changes_table (line 1140)

print a sortable table of recent changes

void print_changes_table (array $datalist)
  • array $datalist: contain records that were extracted from the database.
print_events_table (line 1237)

print a sortable table of events

and generates hCalendar records

void print_events_table (array $datalist, [ $nextdays = 0], [ $option = &quot;&quot;])
  • array $datalist: contain records that were extracted from the database.
  • $nextdays
  • $option
print_fam_table (line 590)

print a sortable table of families

void print_fam_table (array $datalist, [string $legend = &quot;&quot;])
  • array $datalist: contain families that were extracted from the database.
  • string $legend: optional legend of the fieldset
print_indi_table (line 273)

print a sortable table of individuals

void print_indi_table (array $datalist, [string $legend = &quot;&quot;], [ $option = &quot;&quot;])
  • array $datalist: contain individuals that were extracted from the database.
  • string $legend: optional legend of the fieldset
  • $option
print_list_family (line 136)

print a family in a list

This function will print a clickable link to the family.php

void print_list_family (string $key, array $value, [ $findid = false], [ $asso = &quot;&quot;], [ $useli = true])
  • string $key: the GEDCOM xref id of the person to print
  • array $value: is an array of the form array($name, $GEDCOM)
  • $findid
  • $asso
  • $useli
print_list_person (line 49)

print a person in a list

This function will print a clickable link to the individual.php page with the person's name lastname, firstname and their birthplace and date

  • author: John Finlay
void print_list_person (string $key, array $value, [ $findid = false], [ $asso = &quot;&quot;], [ $useli = true])
  • string $key: the GEDCOM xref id of the person to print
  • array $value: is an array of the form array($name, $GEDCOM)
  • $findid
  • $asso
  • $useli
print_list_repository (line 242)

print a repository in a list

This function will print a clickable link to the repo.php

void print_list_repository (string $key, array $value, [ $useli = true])
  • string $key: the GEDCOM xref id of the person to print
  • array $value: is an array of the form array($name, $GEDCOM)
  • $useli
print_list_source (line 210)

print a source in a list

This function will print a clickable link to the source.php page with the source's name

void print_list_source (string $key, array $value, [ $useli = true])
  • string $key: the GEDCOM xref id of the person to print
  • array $value: is an array of the form array($name, $GEDCOM)
  • $useli
print_media_table (line 1060)

print a sortable table of media objects

void print_media_table (array $datalist, [string $legend = &quot;&quot;])
  • array $datalist: contain media objects that were extracted from the database.
  • string $legend: optional legend of the fieldset
print_repo_table (line 983)

print a sortable table of repositories

void print_repo_table (array $datalist, [string $legend = &quot;&quot;])
  • array $datalist: contain repositories that were extracted from the database.
  • string $legend: optional legend of the fieldset
print_sour_table (line 843)

print a sortable table of sources

void print_sour_table (array $datalist, [string $legend = &quot;&quot;])
  • array $datalist: contain sources that were extracted from the database.
  • string $legend: optional legend of the fieldset
print_surn_table (line 536)

print a sortable table of surnames

void print_surn_table (array $datalist, [string $target = &quot;INDI&quot;])
  • array $datalist: contain records that were extracted from the database.
  • string $target: where to go after clicking a surname : INDI page or FAM page

Documentation generated on Wed, 28 Mar 2007 09:54:19 -0600 by phpDocumentor 1.3.1