|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct () | |
| setup ($quiz, $cmid, $reporturl, $s) | |
| wrap_html_start () | |
| wrap_html_finish () | |
Protected Member Functions | |
| col_number ($question) | |
| col_icon ($question) | |
| col_actions ($question) | |
| col_qtype ($question) | |
| col_name ($question) | |
| col_s ($question) | |
| col_facility ($question) | |
| col_sd ($question) | |
| col_random_guess_score ($question) | |
| col_intended_weight ($question) | |
| col_effective_weight ($question) | |
| col_discrimination_index ($question) | |
| col_discriminative_efficiency ($question) | |
| is_dubious_question ($question) | |
Protected Attributes | |
| $quiz | |
| $cmid | |
This table has one row for each question in the quiz, with sub-rows when random questions appear. There are columns for the various statistics.
Definition at line 39 of file statistics_table.php.
| __construct | ( | ) |
Constructor.
Definition at line 49 of file statistics_table.php.
| col_actions | ( | $ | question | ) | [protected] |
Actions that can be performed on the question by this user (e.g. edit or preview).
| object | $question | containst the data to display. |
Definition at line 163 of file statistics_table.php.

| col_discrimination_index | ( | $ | question | ) | [protected] |
Discrimination index. This is the product moment correlation coefficient between the fraction for this qestion, and the average fraction for the other questions in this quiz.
| object | $question | containst the data to display. |
Definition at line 306 of file statistics_table.php.
| col_discriminative_efficiency | ( | $ | question | ) | [protected] |
Discrimination efficiency, similar to, but different from, the Discrimination index.
| object | $question | containst the data to display. |
Definition at line 319 of file statistics_table.php.
| col_effective_weight | ( | $ | question | ) | [protected] |
The effective question weight. That is, an estimate of the actual influence this question has on the student's overall mark.
| object | $question | containst the data to display. |
Definition at line 277 of file statistics_table.php.

| col_facility | ( | $ | question | ) | [protected] |
The facility index (average fraction).
| object | $question | containst the data to display. |
Definition at line 225 of file statistics_table.php.
| col_icon | ( | $ | question | ) | [protected] |
The question type icon.
| object | $question | containst the data to display. |
Definition at line 154 of file statistics_table.php.

| col_intended_weight | ( | $ | question | ) | [protected] |
The intended question weight. Maximum mark for the question as a percentage of maximum mark for the quiz. That is, the indended influence this question on the student's overall mark.
| object | $question | containst the data to display. |
Definition at line 266 of file statistics_table.php.

| col_name | ( | $ | question | ) | [protected] |
The question name.
| object | $question | containst the data to display. |
Definition at line 181 of file statistics_table.php.

| col_number | ( | $ | question | ) | [protected] |
The question number.
| object | $question | containst the data to display. |
Definition at line 141 of file statistics_table.php.
| col_qtype | ( | $ | question | ) | [protected] |
The question type name.
| object | $question | containst the data to display. |
Definition at line 172 of file statistics_table.php.

| col_random_guess_score | ( | $ | question | ) | [protected] |
An estimate of the fraction a student would get by guessing randomly.
| object | $question | containst the data to display. |
Definition at line 251 of file statistics_table.php.
| col_s | ( | $ | question | ) | [protected] |
The number of attempts at this question.
| object | $question | containst the data to display. |
Definition at line 212 of file statistics_table.php.
| col_sd | ( | $ | question | ) | [protected] |
The standard deviation of the fractions.
| object | $question | containst the data to display. |
Definition at line 238 of file statistics_table.php.
| is_dubious_question | ( | $ | question | ) | [protected] |
This method encapsulates the test for wheter a question should be considered dubious.
| object | question the question object with a property _stats which includes all the stats for the question. |
Definition at line 333 of file statistics_table.php.

| setup | ( | $ | quiz, |
| $ | cmid, | ||
| $ | reporturl, | ||
| $ | s | ||
| ) |
Setup the columns and headers and other properties of the table and then call flexible_table::setup() method.
| object | $quiz | the quiz settings |
| int | $cmid | the quiz course_module id |
| moodle_url | $reporturl | the URL to redisplay this report. |
| int | $s | number of attempts included in the statistics. |
Definition at line 62 of file statistics_table.php.

| wrap_html_finish | ( | ) |
Hook that can be overridden in child classes to wrap a table in a form for example. Called only when there is data to display and not downloading.
Reimplemented from flexible_table.
Definition at line 349 of file statistics_table.php.

| wrap_html_start | ( | ) |
Hook that can be overridden in child classes to wrap a table in a form for example. Called only when there is data to display and not downloading.
Reimplemented from flexible_table.
Definition at line 341 of file statistics_table.php.

$cmid [protected] |
Definition at line 44 of file statistics_table.php.
$quiz [protected] |
Definition at line 41 of file statistics_table.php.