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--setMaxVoteNumber.md
2022-09-21 14:01:45 +02:00

686 B

public static Election::setMaxVoteNumber

Description

public static Election::setMaxVoteNumber ( ?int $maxVotesNumber ): ?int

Add a limitation on Election::addVote and related methods. You can't add new vote y the number of registered vote is equall ou superior of this limit.

maxVotesNumber: ?int

Null will deactivate this functionality. An integer will fix the limit.

Return value:

(?int) (int or null) The new limit.