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

30 lines
717 B
Markdown

## public Vote::getSimpleRanking
### Description
```php
public Vote->getSimpleRanking ( [?CondorcetPHP\Condorcet\Election $context = null , bool $displayWeight = true] ): string
```
Get the current ranking as a string format. Optionally with an election context, see Election::getContextualRanking()
##### **context:** *```?CondorcetPHP\Condorcet\Election```*
An election already linked to the Vote.
##### **displayWeight:** *```bool```*
Include or not the weight symbol and value.
### Return value:
*(```string```)* String like 'A>D=C>B'
---------------------------------------
### Related method(s)
* [Vote::getRanking](../Vote%20Class/public%20Vote--getRanking.md)