Was that in the pull request? If so, sorry, it shouldn't have been.

That was me not realizing that OBJE had a getIsReference function, and
trying to get at the _isRef property.

--
Michael Moore

On Sat, Jun 29, 2013 at 9:20 AM, Kristopher Wilson <notifications@github.com
> wrote:

> In library/PhpGedcom/Record.php:
>
> > @@ -68,6 +68,13 @@ public function __call($method, $args)
> >              }
> >
> >              return $this->{'_' . $arr};
> > +        } elseif (substr($method, 0, 2) == 'is'){
> > +            $arr = strtolower(substr($method, 2));
> > +
> > +            if(!property_exists($this,'_',$arr)) {
> > +                throw new \Exception('Unknown ' . get_class($this) . '::' . $arr);
> > +            }
> > +            return $this->{'_' . $arr};
>
> What is the point of all of this?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mrkrstphr/php-gedcom/pull/7/files#r4952164>
> .
>



-- 
Support the digitization of the Iron County Miner newspaper archives
Like this project on Facebook: https://www.facebook.com/digitizeicm