<?php

/**
 * php-gedcom
 *
 * php-gedcom is a library for parsing, manipulating, importing and exporting
 * GEDCOM 5.5 files in PHP 5.3+.
 *
 * @author          Kristopher Wilson <kristopherwilson@gmail.com>
 * @copyright       Copyright (c) 2010-2013, Kristopher Wilson
 * @package         php-gedcom
 * @license         MIT
 * @link            http://github.com/mrkrstphr/php-gedcom
 */

namespace AncestorPress\Vendor\PhpGedcom\Record\Fam;

use \AncestorPress\Vendor\PhpGedcom\Record\Objectable;
use \AncestorPress\Vendor\PhpGedcom\Record\Sourceable;
use \AncestorPress\Vendor\PhpGedcom\Record\Noteable;

/**
 *
 */
class Even extends \AncestorPress\Vendor\PhpGedcom\Record implements Objectable, Sourceable, Noteable
{
    protected $_type = null;
    protected $_date = null;
    protected $_plac = null;
    protected $_caus = null;
    protected $_age  = null;

    protected $_addr = null;

    protected $_phon = array();

    protected $_agnc = null;

    protected $_husb = null;
    protected $_wife = null;

    /**
     *
     */
    protected $_obje = array();

    /**
     *
     */
    protected $_sour = array();

    /**
     *
     */
    protected $_note = array();

    /**
     *
     */
    public function addPhon(\AncestorPress\Vendor\PhpGedcom\Record\Phon $phon)
    {
        $this->_phon[] = $phon;
    }

    /**
     *
     */
    public function addObje(\AncestorPress\Vendor\PhpGedcom\Record\ObjeRef $obje)
    {
        $this->_obje[] = $obje;
    }

    /**
     *
     */
    public function addSour(\AncestorPress\Vendor\PhpGedcom\Record\SourRef $sour)
    {
        $this->_sour[] = $sour;
    }

    /**
     *
     */
    public function addNote(\AncestorPress\Vendor\PhpGedcom\Record\NoteRef $note)
    {
        $this->_note[] = $note;
    }
}
