DeathSet::getSummary - jcobban/Genealogy GitHub Wiki

$deathSet->getSummary()

Up: class DeathSet

Get year by year statistics for death 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 death registrations transcribed
2 number of death registrations linked to tree

Example:

  $deaths	    = new DeathSet(array('domain' => 'CAON'));
  $result	    = $deaths->getSummary();

Next: $deathset->getStatistics()