Disciple_Tools_Counter_Connected

Extends \Disciple_Tools_Counter_Base

Class Disciple_Tools_Counter_Connected

package

Disciple_Tools

Methods

Disciple_Tools_Counter constructor.

__construct() 
inherited

Query: number of disciples of a given record

get_number_disciples( $contact,  $column) : integer

Arguments

$contact

$column

Response

integer

Counts the number of contacts with at least two disciples

has_at_least( $min_number,  $type) : integer

Arguments

$min_number

$type

Response

integer

Counts the number of disciples or groups connected to a single record.

has_exactly( $exact_number,  $type) : integer

Example: How many contacts have one disciple? How many have two disciples? This helps identify general fruitfulness.

Arguments

$exact_number

$type

Response

integer

Has Meta Key

has_meta_value( $type,  $meta_value) : null|string

Arguments

$type

$meta_value

Response

null|string

Counts the number of contacts with no disciples in database

has_zero( $type) : integer

Arguments

$type

Response

integer