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--getVotesList.md

31 lines
699 B
Markdown
Raw Normal View History

2022-09-21 12:39:11 +02:00
## public Election::getVotesList
### Description
```php
public Election->getVotesList ( [array|string|null $tags = null , bool $with = true] ): array
```
Get registered vote list.
##### **tags:** *```array|string|null```*
Tags list as a string separated by commas or array.
##### **with:** *```bool```*
Get votes with these tags or without.
### Return value:
*(```array```)* Populated by each Vote object.
---------------------------------------
### Related method(s)
* [Election::countVotes](../Election%20Class/public%20Election--countVotes.md)
* [Election::getVotesListAsString](../Election%20Class/public%20Election--getVotesListAsString.md)