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/Election Class/public static Election--setMaxParseIteration.md

26 lines
652 B
Markdown
Raw Normal View History

2022-09-21 12:39:11 +02:00
## public static Election::setMaxParseIteration
### Description
```php
public static Election::setMaxParseIteration ( ?int $maxParseIterations ): ?int
```
Maximum input for each use of Election::parseCandidate && Election::parseVote. Will throw an exception if exceeded.
##### **maxParseIterations:** *```?int```*
Null will deactivate this functionality. Else, enter an integer.
### Return value:
*(```?int```)* *(int or null)* The new limit.
---------------------------------------
### Related method(s)
* [static Election::setMaxVoteNumber](../Election%20Class/public%20static%20Election--setMaxVoteNumber.md)