Family::getHusband - jcobban/Genealogy GitHub Wiki
$family->getHusband()
Up: class Family
This factory method obtains the instance of class Person
representing the male partner in a Family
. This method returns null
if this Family
does not have a male partner. That is the field 'idirhusb'
is zero. For example this occurs with families where the mother of a child did not identify the biological father.