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

26 lines
900 B
Markdown
Raw Normal View History

2022-09-21 12:39:11 +02:00
## public Result::getOriginalResultArrayWithString
### Description
```php
public Result->getOriginalResultArrayWithString ( ): array
```
Get result as an array
### Return value:
*(```array```)* Unlike other methods to recover the result. This is frozen as soon as the original creation of the Result object is created.
Candidate objects are therefore protected from any change of candidateName, since the candidate objects are converted into a string when the results are promulgated.
This control method can therefore be useful if you undertake suspicious operations on candidate objects after the results have been promulgated.
---------------------------------------
### Related method(s)
* [Result::getResultAsArray](../Result%20Class/public%20Result--getResultAsArray.md)
* [Result::getResultAsString](../Result%20Class/public%20Result--getResultAsString.md)