You are here

function advpoll_info_ranking in Advanced Poll 6

Same name and namespace in other branches
  1. 5 modes/ranking.inc \advpoll_info_ranking()
  2. 6.3 modes/ranking.inc \advpoll_info_ranking()
  3. 6.2 modes/ranking.inc \advpoll_info_ranking()

@file Handle ranking votes, e.g. choice A is preferred over choice B, which in turn is preferred over choice C.

File

modes/ranking.inc, line 8
Handle ranking votes, e.g. choice A is preferred over choice B, which in turn is preferred over choice C.

Code

function advpoll_info_ranking() {
  return array(
    'name' => 'ranking',
    'name_label' => t('Ranking'),
    'description' => t('Rank a number of choices.'),
  );
}