680 B
680 B
public Election::allowsVoteWeight
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