You are here

function _quiz_get_duration_options in Quiz 6.4

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

Returns an array with options for the time filters.

Return value

$options array of options for the duration filter

See also

_quiz_get_duration_intervals()

File

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

Code

function _quiz_get_duration_options() {
  return array(
    t('No filter'),
    t('> 1 m'),
    t('> 5 m'),
    t('> 10 m'),
    t('> 1 h'),
    t('> 8 h'),
    t('> 24 h'),
    t('< 1 m'),
    t('< 5 m'),
    t('< 10 m'),
    t('< 1 h'),
    t('< 8 h'),
    t('< 24 h'),
  );
}