[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/mod/quiz/report/responses/ -> last_responses_table.php (summary)

This file defines the quiz responses table for showing last try at question.

Copyright: 2008 Jean-Michel Vedrine
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 177 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

quiz_last_responses_table:: (9 methods):
  __construct()
  build_table()
  col_sumgrades()
  data_col()
  field_from_extra_data()
  other_cols()
  requires_extra_data()
  is_latest_step_column()
  get_required_latest_state_fields()


Class: quiz_last_responses_table  - X-Ref

This is a table subclass for displaying the quiz responses report.

__construct($quiz, $context, $qmsubselect, quiz_responses_options $options,$groupstudents, $students, $questions, $reporturl)   X-Ref
Constructor

param: object $quiz
param: context $context
param: string $qmsubselect
param: quiz_responses_options $options
param: array $groupstudents
param: array $students
param: array $questions
param: moodle_url $reporturl

build_table()   X-Ref
No description

col_sumgrades($attempt)   X-Ref
No description

data_col($slot, $field, $attempt)   X-Ref
No description

field_from_extra_data($attempt, $slot, $field)   X-Ref
Column text from the extra data loaded in load_extra_data(), before html formatting etc.

param: object $attempt
param: int $slot
param: string $field
return: string

other_cols($colname, $attempt)   X-Ref
No description

requires_extra_data()   X-Ref
No description

is_latest_step_column($column)   X-Ref
No description

get_required_latest_state_fields($slot, $alias)   X-Ref
Get any fields that might be needed when sorting on date for a particular slot.

param: int    $slot  the slot for the column we want.
param: string $alias the table alias for latest state information relating to that slot.
return: string sql fragment to alias fields.



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1