Event::getName - jcobban/Genealogy GitHub Wiki

$event->getName()

Up: class Event

This method returns the name of the event from the current record. This extends Record::getName. The returned value is:

$recname        = $this->getAssociatedRecord()->getName();
$etText         = self::$eventText[$this->row['idet']];
$description    = $this->row['description'];
$location       = $this->getLocation()->getName();
$date           = $this->getDate();
return "$recname $etText $description at $location $date";

Next: $event->set($fieldname, $value)