public Election::sumVoteWeights
Description
php
public Election->sumVoteWeights ( [array|string|null $tags = null , int|bool $with = true] ): intSum total votes weight in this election. If vote weight functionality is disabled (default setting), it will return the number of registered votes. This method ignores votes constraints.
Parameters
tags: array|string|null
Tag in string separated by commas, or an Array.
with: int|bool
Count Votes with this tag or without this tag.
Return value
(int) (int) Total vote weight
