FamilyTree::foreach - jcobban/Genealogy GitHub Wiki
foreach($tree as $item => $setting)
Up: class FamilyTree
The class implements the interface Iterator
which means that you can loop over the items in the record using foreach($tree as $item => $setting) ...
Next: $tree->isValid()