GenealogistCountersHelper::count_sons
Counts the of sons.
Signature
public function count_sons(Person
$person,
[integer
$state = 0] )
Parameters
$person
— object- person object
$state
— integer- either 1/$STATE_ALIVE or 2/$STATE_DEAD or 0
Returns
- number