public Election::getConstraints

November 22, 2025 ยท View on GitHub

Read it at the source

Description

public Election->getConstraints ( ): array

Get active constraints list.

Return value

(array) Array with class name of each active constraint. Empty array if there is not.


Related

  • Election::isVoteValidUnderConstraints()

Tutorial

  • This method has explanations and examples in the Documentation Book

Contents

  1. 1Description
  2. 2Return value
  3. 3Related
  4. 4Tutorial