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--getCandidateObjectFromName.md

20 lines
406 B
Markdown
Raw Normal View History

2022-09-21 12:39:11 +02:00
## public Election::getCandidateObjectFromName
### Description
```php
public Election->getCandidateObjectFromName ( string $candidateName ): ?CondorcetPHP\Condorcet\Candidate
```
Find candidate object by string and return the candidate object.
##### **candidateName:** *```string```*
Candidate name.
### Return value:
*(```?CondorcetPHP\Condorcet\Candidate```)* Candidate object