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/Vote Class/public Vote--getRanking.md

26 lines
551 B
Markdown
Raw Normal View History

2022-09-21 12:39:11 +02:00
## public Vote::getRanking
### Description
```php
public Vote->getRanking ( [bool $sortCandidatesInRank = true] ): array
```
Get the actual Ranking of this Vote.
##### **sortCandidatesInRank:** *```bool```*
Sort Candidate in a Rank by name. Useful for performant internal calls from methods.
### Return value:
*(```array```)* Multidimenssionnal array populated by Candidate object.
---------------------------------------
### Related method(s)
* [Vote::setRanking](../Vote%20Class/public%20Vote--setRanking.md)