You are here

function _quiz_get_time_interval_options in Quiz 6.4

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

Returns list of options for the changed select box

Return value

$changed_options Options for the changed select box.

See also

_quiz_questions_browser_form()

2 calls to _quiz_get_time_interval_options()
_quiz_question_browser_add_filter_fields in ./quiz.admin.inc
adds filter fields to the question browser form
_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 2638
Administrator interface for Quiz module.

Code

function _quiz_get_time_interval_options() {
  return array(
    t('No filter'),
    t('Today'),
    t('Yesterday'),
    t('Two days ago'),
    t('This week'),
    t('Last week'),
    t('This month'),
    t('Last month'),
    t('This year'),
    t('Last year'),
    t('Long ago'),
  );
}