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

34 lines
873 B
Markdown
Raw Normal View History

2022-09-21 12:39:11 +02:00
## public Election::removeVote
### Description
```php
public Election->removeVote ( CondorcetPHP\Condorcet\Vote $vote ): bool
```
Remove Votes from an election.
##### **vote:** *```CondorcetPHP\Condorcet\Vote```*
Vote object.
### Return value:
*(```bool```)* List of removed CondorcetPHP\Condorcet\Vote object.
---------------------------------------
### Related method(s)
* [Election::addVote](../Election%20Class/public%20Election--addVote.md)
* [Election::getVotesList](../Election%20Class/public%20Election--getVotesList.md)
* [Election::removeVotesByTags](../Election%20Class/public%20Election--removeVotesByTags.md)
---------------------------------------
### Examples and explanation
* **[Manual - Vote management](https://github.com/julien-boudry/Condorcet/wiki/II-%23-B.-Vote-management-%23-2.-Manage-Vote)**