tce_show_all_questions.php

Display all questions grouped by topic.

Source: admin/code/tce_show_all_questions.php

Display all questions grouped by topic.

Functions

F_show_select_questions()

Display a list of selected questions.

function F_show_select_questions(
    mixed $wherequery,
    mixed $subject_module_id,
    mixed $subject_id,
    mixed $order_field,
    mixed $orderdir,
    mixed $firstrow,
    mixed $rowsperpage,
    mixed $hide_answers = false
): false

Parameters:

  • $wherequery (mixed): (string) question selection query
  • $subject_module_id (mixed): (string) module ID
  • $subject_id (mixed): (string) topic ID
  • $order_field (mixed): (string) order by column name
  • $orderdir (mixed): (int) oreder direction
  • $firstrow (mixed): (int) number of first row to display
  • $rowsperpage (mixed): (int) number of rows per page
  • $hide_answers (mixed): (boolean) if true hide answers

Returns: false: in case of empty database, true otherwise

Source: admin/code/tce_show_all_questions.php:480