<?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;

/**
 *
 */
class Obje extends \AncestorPress\Vendor\PhpGedcom\Record implements Noteable
{
    protected $_id   = null;

    protected $_form = null;
    protected $_titl = null;
    protected $_blob = null;
    protected $_rin  = null;
    protected $_chan = null;

    // ANCP patch: GEDCOM 5.5.1 multimedia records carry the file reference in
    // a FILE tag (with TYPE nested under FORM); upstream php-gedcom (5.5-era)
    // never parsed either, silently dropping the media path. Additive only.
    protected $_file = null;
    protected $_type = null;

    protected $_refn = array();

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

    /**
     *
     */
    public function addRefn(\AncestorPress\Vendor\PhpGedcom\Record\Refn $refn)
    {
        $this->_refn[] = $refn;
    }

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