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/Condorcet Class/public static Condorcet--addMethod.md

27 lines
722 B
Markdown
Raw Normal View History

2022-09-21 12:39:11 +02:00
## public static Condorcet::addMethod
### Description
```php
public static Condorcet::addMethod ( string $methodClass ): bool
```
If you create your own Condorcet Algo. You will need it !
##### **methodClass:** *```string```*
The class name implementing your method. The class name includes the namespace it was declared in (e.g. Foo\Bar).
### Return value:
*(```bool```)* True on Success. False on failure.
---------------------------------------
### Related method(s)
* [static Condorcet::isAuthMethod](../Condorcet%20Class/public%20static%20Condorcet--isAuthMethod.md)
* [static Condorcet::getMethodClass](../Condorcet%20Class/public%20static%20Condorcet--getMethodClass.md)