Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 920 Bytes

public Vote--getContextualRanking.md

File metadata and controls

33 lines (17 loc) · 920 Bytes

public Vote::getContextualRanking

Read it at the source

Description

public Vote->getContextualRanking ( CondorcetPHP\Condorcet\Election $election ): array

Return the vote actual ranking complete for the contexte of the provide election. Election must be linked to the Vote object.

election: CondorcetPHP\Condorcet\Election

An election already linked to the Vote.

Return value:

(array) Contextual full ranking.

Throws:

  • CondorcetPHP\Condorcet\Throwable\VoteNotLinkedException

Related method(s)