From 80d360b19d5593441a44ebd42b7e36a4b3bd82d1 Mon Sep 17 00:00:00 2001
From: David Maus <maus@hab.de>
Date: Mon, 6 Aug 2012 13:31:50 +0200
Subject: [PATCH] New variable: Containing parent record

* php/HAB/Pica/Record/Record.php ($_parent): New variable. Containing
parent record.
---
 src/php/HAB/Pica/Record/Record.php | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/php/HAB/Pica/Record/Record.php b/src/php/HAB/Pica/Record/Record.php
index d2a5bb4..ab64f66 100644
--- a/src/php/HAB/Pica/Record/Record.php
+++ b/src/php/HAB/Pica/Record/Record.php
@@ -87,6 +87,13 @@ abstract class Record {
    */
   protected $_fields = array();
 
+  /**
+   * The containing parent record, if any.
+   *
+   * @var \HAB\Pica\Record
+   */
+  protected $_parent;
+
   /**
    * Constructor.
    *
-- 
GitLab