Genealogy_Gedcom
[ class tree: Genealogy_Gedcom ] [ index: Genealogy_Gedcom ] [ all elements ]

Source for file Genealogy_Family.php

Documentation is available at Genealogy_Family.php

  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4: */
  3. // +----------------------------------------------------------------------+
  4. // | PHP Version 4                                                        |
  5. // +----------------------------------------------------------------------+
  6. // | Copyright (c) 1997-2003 The PHP Group                                |
  7. // +----------------------------------------------------------------------+
  8. // | This source file is subject to version 2.02 of the PHP license,      |
  9. // | that is bundled with this package in the file LICENSE, and is        |
  10. // | available at through the world-wide-web at                           |
  11. // | http://www.php.net/license/2_02.txt.                                 |
  12. // | If you did not receive a copy of the PHP license and are unable to   |
  13. // | obtain it through the world-wide-web, please send a note to          |
  14. // | license@php.net so we can mail you a copy immediately.               |
  15. // +----------------------------------------------------------------------+
  16. // | Authors: Olivier Vanhoucke <olivier@php.net>                         |
  17. // +----------------------------------------------------------------------+
  18. //
  19. // $Id: Genealogy_Family.php,v 1.2 2003/01/04 11:54:56 mj Exp $
  20. //
  21.  
  22. /*
  23. */
  24.  
  25. /**
  26.  * Genealogy_Family
  27.  *
  28.  * Purpose:
  29.  *
  30.  *
  31.  *
  32.  * Contributors:
  33.  *
  34.  * @author   Olivier Vanhoucke <olivier@php.net>
  35.  * @version  $Revision: 1.2 $
  36.  * @package  Genealogy_Gedcom
  37.  * @access   public
  38.  */
  39.  
  40.     /**
  41.      * Contains the Gedcom family identifier
  42.      *
  43.      * @var    string 
  44.      * @access public
  45.      */
  46.     var $Identifier   = '';
  47.  
  48.     /**
  49.      * Husband
  50.      *
  51.      * @var    string 
  52.      * @access public
  53.      */
  54.     var $Husband   = '';
  55.  
  56.     /**
  57.      * Wife
  58.      *
  59.      * @var    string 
  60.      * @access public
  61.      */
  62.     var $Wife   = '';
  63.  
  64.     /**
  65.      * Number of child
  66.      *
  67.      * @var    string 
  68.      * @access public
  69.      */
  70.     var $ChildNumber   = '';
  71.  
  72.     /**
  73.      * Child
  74.      *
  75.      * @var    array 
  76.      * @access public
  77.      */
  78.     var $Child  = array();
  79.  
  80.     /**
  81.      * Marriage
  82.      *
  83.      * @var    array 
  84.      * @access public
  85.      */
  86.     var $Marriage  = array('Date'    => '',
  87.                            'Time'    => '',
  88.                            'Place'   => '',
  89.                            'Witness' => array(),
  90.                            'Note'    => '',
  91.                            'Source'  => ''
  92.                            );
  93.  
  94.     /**
  95.      * Divorce
  96.      *
  97.      * @var    array 
  98.      * @access public
  99.      */
  100.     var $Divorce  = array('Date' => '');
  101.  
  102.     /**
  103.      * Associates
  104.      *
  105.      * @var    array 
  106.      * @access public
  107.      */
  108.     var $Associates = array();
  109.  
  110.     /**
  111.      * Constructor
  112.      *
  113.      * Creates a new Genealogy_Family Object
  114.      *
  115.      * @access public
  116.      * @param  array 
  117.      * @return object Genealogy_Family 
  118.      */
  119.     function Genealogy_Family($arg{
  120.         $this->Identifier          = $arg[0];
  121.         $this->Husband             = $arg[1];
  122.         $this->Wife                = $arg[2];
  123.         $this->ChildNumber         = $arg[3];
  124.         $this->Child               = $arg[4];
  125.         $this->Marriage['Date']    $arg[5];
  126.         $this->Marriage['Time']    $arg[6];
  127.         $this->Marriage['Place']   $arg[7];
  128.         $this->Marriage['Witness'$arg[8];
  129.         $this->Marriage['Note']    $arg[9];
  130.         $this->Marriage['Source']  $arg[10];
  131.         $this->Associates          = $arg[11];
  132.         $this->Divorce['Date']     $arg[12];
  133.     }
  134. }
  135. ?>

Documentation generated on Mon, 11 Mar 2019 14:18:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.