BirthSet::getSummary - jcobban/Genealogy GitHub Wiki

$birthSet->getSummary()

Up: class BirthSet

Get year by year statistics for birth registrations. This returns an array with one record per year.each row of which is an array containing the following values:

index contents
0 year of registrations
1 number of birth registrations transcribed
2 number of birth registrations linked to tree

Example:

  $births	    = new BirthSet(array('domain' => 'CAON'));
  $result	    = $births->getSummary();

Next: $birthset->getStatistics()