test adding condorcet vote
This commit is contained in:
@ -0,0 +1,24 @@
|
||||
## public static Utils\CondorcetUtil::format
|
||||
|
||||
### Description
|
||||
|
||||
```php
|
||||
public static Utils\CondorcetUtil::format ( mixed $input [, bool $convertObject = true] ): mixed
|
||||
```
|
||||
|
||||
Provide pretty re-formatting, human compliant, of all Condorcet PHP object or result set.
|
||||
Can be use before a var_dump, or just to get more simple data output.
|
||||
|
||||
|
||||
##### **input:** *```mixed```*
|
||||
Input to convert.
|
||||
|
||||
|
||||
##### **convertObject:** *```bool```*
|
||||
If true. Will convert Candidate objects into string representation of their name.
|
||||
|
||||
|
||||
### Return value:
|
||||
|
||||
*(```mixed```)* New formatted data.
|
||||
|
Reference in New Issue
Block a user