Family::getSealEvent - jcobban/Genealogy GitHub Wiki

$family->getSealEvent($create)

Up: class Family

This factory method obtains information about the LDS Sealed to Partner Event.

This method has one parameter:

parameter contents
$create This is a boolean value. If it is true the method will create a new instance of class Event if one does not already exist.

This returns an instance of class Event or null if there is no existing Sealed Event and the parameter is not true.

The original database design did not conform to 3rd Normal Form in that information about a marriage event could be defined either by multiple fields in the instance of class Family or in an instance of class Event which referred to the instance of class Family.

Next: $family->getMarEndEvent($create)