Family::getWife - jcobban/Genealogy GitHub Wiki

$family->getWife()

Up: class Family

This factory method obtains the instance of class Person representing the female partner in a Family. This method returns null if this Family does not have a female partner. That is the field 'idirwife' is zero. For example this occurs with families where a child did not identify his or her mother, even if only by given name, in any source document.

Next: $family->getWifePriName()