PartyCohort
in package
Party
Table of Contents
Properties
- $absences : mixed
- $db : mixed
- $hash : mixed
- $memberships : mixed
- $party : mixed
Methods
- __construct() : mixed
- cache_position() : mixed
- calculate_policy_position() : mixed
- calculateAllPolicyPositions() : mixed
- calculatePositions() : mixed
- getAbsences() : mixed
- getAllPolicyPositions() : mixed
- getCohortQuery() : mixed
- getCohorts() : mixed
- getExamplePerson() : mixed
- getHashforPerson() : mixed
- getMemberships() : mixed
- getParty() : mixed
- policy_position() : mixed
- populateCohorts() : mixed
- fetchPolicyPositionsByMethod() : mixed
- get_vote_scores() : mixed
Properties
$absences
private
mixed
$absences
$db
private
mixed
$db
$hash
private
mixed
$hash
$memberships
private
mixed
$memberships
$party
private
mixed
$party
Methods
__construct()
public
__construct(mixed $hash[, mixed $pop_with_example = false ]) : mixed
Parameters
- $hash : mixed
- $pop_with_example : mixed = false
cache_position()
public
cache_position(mixed $position) : mixed
Parameters
- $position : mixed
calculate_policy_position()
public
calculate_policy_position(mixed $policy_id) : mixed
Parameters
- $policy_id : mixed
calculateAllPolicyPositions()
public
calculateAllPolicyPositions(mixed $policies) : mixed
Parameters
- $policies : mixed
calculatePositions()
public
static calculatePositions([mixed $quiet = true ]) : mixed
Parameters
- $quiet : mixed = true
getAbsences()
public
getAbsences() : mixed
getAllPolicyPositions()
public
getAllPolicyPositions(mixed $policies) : mixed
Parameters
- $policies : mixed
getCohortQuery()
public
static getCohortQuery() : mixed
getCohorts()
public
static getCohorts() : mixed
getExamplePerson()
public
getExamplePerson() : mixed
getHashforPerson()
public
static getHashforPerson(mixed $person_id) : mixed
Parameters
- $person_id : mixed
getMemberships()
public
getMemberships() : mixed
getParty()
public
getParty() : mixed
policy_position()
public
policy_position(mixed $policy_id) : mixed
Parameters
- $policy_id : mixed
populateCohorts()
public
static populateCohorts() : mixed
fetchPolicyPositionsByMethod()
private
fetchPolicyPositionsByMethod(mixed $policies, mixed $method) : mixed
Parameters
- $policies : mixed
- $method : mixed
get_vote_scores()
private
get_vote_scores(mixed $vote) : mixed
Parameters
- $vote : mixed