MethodistBaptismSet::getStatistics - jcobban/Genealogy GitHub Wiki

$baptismSet->getStatistics()

Up: class MethodistBaptismSet

This method has no parameters. The set of baptisms that it reports statistics for is specified by the constructor.

Examples:

$baptisms	= new MethodistBaptismSet(array('district' => $pattern));
$result         = $baptisms->getStatistics();

Returns an array each row of which is an associative array containing the following fields for each District in the set. If no parameter was specified to the constructor it returns information on all Districts:

key value
district district name
count number of transcribed baptisms in the district
linkcount number baptisms linked to the family tree

Next: $baptismSet->getDistrictStatistics()