\GenealogistCountersHelper
- Author: Hudhaifa Shatnawi <hudhaifa.shatnawi@gmail.com>
Synopsis
class GenealogistCountersHelper
{
- // members
- public static integer $STATE_ALIVE = 1;
- public static integer $STATE_DEAD = 2;
- protected static array $cache_counters = ;
- // methods
- public static number count_clan_descendants()
- public static number count_clan_males()
- public static number count_clan_females()
- public static number count_descendants()
- public static number count_males()
- public static number count_females()
- public static number count_sons()
- public static number count_daughters()
- public static void cache_counters_check()
Members
protected
- $cache_counters
public
- $STATE_ALIVE
- $STATE_DEAD
Methods
public
- cache_counters_check()
- count_clan_descendants() — Counts the of all descendants.
- count_clan_females() — Counts the of all male descendants.
- count_clan_males() — Counts the of all male descendants.
- count_daughters() — Counts the of daughters.
- count_descendants() — Counts the of all descendants.
- count_females() — Counts the of all female descendants.
- count_males() — Counts the of all male descendants.
- count_sons() — Counts the of sons.