31 lines
699 B
Markdown
31 lines
699 B
Markdown
|
## 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)
|