1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__serveur-vote-lalis/include/condorcet/Documentation/Election Class/public Election--sumVotesWeight.md

22 lines
564 B
Markdown
Raw Normal View History

2022-09-21 12:39:11 +02:00
## public Election::sumVotesWeight
### Description
```php
public Election->sumVotesWeight ( ): int
```
Sum total votes weight in this election. If vote weight functionality is disable (default setting), it will return the number of registered votes. This method ignore votes constraints.
### Return value:
*(```int```)* (Int) Total vote weight
---------------------------------------
### Related method(s)
* [Election::sumValidVotesWeightWithConstraints](../Election%20Class/public%20Election--sumValidVotesWeightWithConstraints.md)