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

863 B

public Election::countVotes

Description

public Election->countVotes ( [array|string|null $tags = null , bool $with = true] ): int

Count the number of actual registered and valid vote for this election. This method ignore votes constraints, only valid vote will be counted.

tags: array|string|null

Tag into string separated by commas, or an Array.

with: bool

Count Votes with this tag ou without this tag-.

Return value:

(int) Number of valid and registered vote into this election.