Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 793 Bytes

public Election--allowsVoteWeight.md

File metadata and controls

29 lines (16 loc) · 793 Bytes

public Election::allowsVoteWeight

Read it at the source

Description

public Election->allowsVoteWeight ( [bool $rule = true] ): bool

Set the setting and reset all result data. Then the weight of votes (if specified) will be taken into account when calculating the results. Otherwise all votes will be considered equal. By default, the voting weight is not activated and all votes are considered equal.

rule: bool

New rule.

Return value:

(bool) Return True


Related method(s)