Disciple_Tools_Counter_Groups

Extends \Disciple_Tools_Counter_Base

Class Disciple_Tools_Counter_Groups

package

Disciple_Tools

Methods

Disciple_Tools_Counter constructor.

__construct() 
inherited

Count group generations by group type

build_group_generation_counts(array $elements, integer $parent_id, integer $generation, array $counts = array(), array $ids_to_include = array()) : array
static

Arguments

$elements

array

$parent_id

integer

$generation

integer

$counts

array

$ids_to_include

array

Response

array

Get group generation of groups that were active in the time range

get_group_generations( $start,  $end, array $args = array()) : array
static

Arguments

$start

$end

$args

array

Response

array

Returns count of contacts for different statuses Primary 'countable'

get_groups_count(string $status, integer $start, integer $end, array $args = array()) : integer|array
static

Arguments

$status

string

$start

integer

$end

integer

$args

array

Response

integer|array

query_church_planters

query_church_planters( $start,  $end) 
static

Arguments

$start

$end

query_get_all_group_connections

query_get_all_group_connections() 
static

Groups that were active in a date range

query_get_groups_id_list(integer $start_date, integer $end_date = PHP_INT_MAX, array $args = array()) : array
static

Arguments

$start_date

integer

$end_date

integer

$args

array

Response

array

Properties

generations

generations : 
static

Type(s)