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/Vote Class/public Vote--haveLink.md

30 lines
815 B
Markdown
Raw Normal View History

2022-09-21 12:39:11 +02:00
## public Vote::haveLink
### Description
```php
public Vote->haveLink ( CondorcetPHP\Condorcet\Election $election ): bool
```
Check if this election is linked with this Candidate/Vote object.
##### **election:** *```CondorcetPHP\Condorcet\Election```*
Condorcet election to check.
### Return value:
*(```bool```)* True or False.
---------------------------------------
### Related method(s)
* [Vote::countLinks](../Vote%20Class/public%20Vote--countLinks.md)
* [Candidate::countLinks](../Candidate%20Class/public%20Candidate--countLinks.md)
* [Vote::getLinks](../Vote%20Class/public%20Vote--getLinks.md)
* [Candidate::getLinks](../Candidate%20Class/public%20Candidate--getLinks.md)
* [Candidate::haveLink](../Candidate%20Class/public%20Candidate--haveLink.md)