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--countValidVoteWithConstraints.md
2022-09-21 14:01:45 +02:00

24 lines
798 B
Markdown

## public Election::countValidVoteWithConstraints
### Description
```php
public Election->countValidVoteWithConstraints ( ): int
```
Count the number of actual registered and valid vote for this election. This method don't ignore votes constraints, only valid vote will be counted.
### Return value:
*(```int```)* Number of valid and registered vote into this election.
---------------------------------------
### Related method(s)
* [Election::countInvalidVoteWithConstraints](../Election%20Class/public%20Election--countInvalidVoteWithConstraints.md)
* [Election::countVotes](../Election%20Class/public%20Election--countVotes.md)
* [Election::sumValidVotesWeightWithConstraints](../Election%20Class/public%20Election--sumValidVotesWeightWithConstraints.md)