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

927 B

public Election::getVotesValidUnderConstraintGenerator

Description

public Election->getVotesValidUnderConstraintGenerator ( [array|string|null $tags = null , bool $with = true] ): Generator

Same as Election::getVotesList. But Return a PHP generator object. Usefull if your work on very large election with an external DataHandler, because it's will not using large memory amount.

tags: array|string|null

Tags list as a string separated by commas or array.

with: bool

Get votes with these tags or without.

Return value:

(Generator) Populated by each Vote object.