Skip to content

Person::getDeathEvent

James Cobban edited this page Nov 23, 2019 · 2 revisions

$person->getDeathEvent($create)

Up: class Person

This factory method returns an instance of class Event or null. Formerly this information was kept in the Person record, but that violated 3rd Normal Form (3NF). The Event contains information about the death of the Person. It has one optional parameter:

parameter description
$create If this is boolean true this method returns an Event even if there is no recorded information about the death of the Person. If the parameter is omitted or is not boolean true the method returns null if there is no information about the event.

Next: $person->getBuriedEvent($create)

Clone this wiki locally