You are here

function _quiz_get_score_options in Quiz 6.4

Same name and namespace in other branches
  1. 8.4 quiz.admin.inc \_quiz_get_score_options()
  2. 7 quiz.admin.inc \_quiz_get_score_options()
  3. 7.4 quiz.admin.inc \_quiz_get_score_options()

Returns an array with options for the score filters.

Return value

$options array of options for the score filter

See also

_quiz_get_score_intervals()

1 call to _quiz_get_score_options()
_quiz_results_mr_add_filter_fields in ./quiz.admin.inc
Adds form items for the filters to the browser form.

File

./quiz.admin.inc, line 2762
Administrator interface for Quiz module.

Code

function _quiz_get_score_options() {
  return array(
    t('No filter'),
    t('Passed'),
    t('Failed'),
    t('= 100 %'),
    t('> 90 %'),
    t('> 75 %'),
    t('> 50 %'),
    t('> 25 %'),
    t('< 90 %'),
    t('< 75 %'),
    t('< 50 %'),
    t('< 25 %'),
  );
}