Event::getAssociatedRecord - jcobban/Genealogy GitHub Wiki

$event->getAssociatedRecord()

Up: class Event

This method returns the instance of Person, Family, or Child associated with the Event based upon the value of the fields 'idir' and 'idtype'.

Next: $event->getPerson()