Event::setAssociatedRecord - jcobban/Genealogy GitHub Wiki

$event->setAssociatedRecord($record)

Up: class Event

This method sets the reference to the record for the Person, Family, or Child to which the Event applies.

Next: $event->getNotes()