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/Result Class/public Result--getResultAsArray.md

27 lines
584 B
Markdown
Raw Normal View History

2022-09-21 12:39:11 +02:00
## public Result::getResultAsArray
### Description
```php
public Result->getResultAsArray ( [bool $convertToString = false] ): array
```
Get result as an array
##### **convertToString:** *```bool```*
Convert Candidate object to string.
### Return value:
*(```array```)* An ordered multidimensionnal array by rank.
---------------------------------------
### Related method(s)
* [Election::getResult](../Election%20Class/public%20Election--getResult.md)
* [Result::getResultAsString](../Result%20Class/public%20Result--getResultAsString.md)