public Election::getVotesList

September 3, 2025 ยท View on GitHub

Read it at the source

Description

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

Get registered votes list.

Parameters

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

(array) Populated by each Vote object.


Related

  • Election::getVotesListAsString()

Contents

  1. 1Description
  2. 2Parameters
  3. 2.1tags: array|string|null
  4. 2.2with: bool
  5. 3Return value
  6. 4Related