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 Election--setMethodOption.md

807 B

public Election::setMethodOption

Description

public Election->setMethodOption ( string $method , string $optionName , BackedEnum|array|string|int|float $optionValue ): bool

Set an option to a method module and reset his cache for this election object. Be aware that this option applies to all election objects and remains in memory.

method: string

Method name or class path.

optionName: string

Option name.

optionValue: BackedEnum|array|string|int|float

Option Value.

Return value:

(bool) True on success. Else False.