[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/question/type/ddimageortext/ -> questiontypebase.php (summary)

Question type class for the drag-and-drop onto image question type.

Copyright: 2009 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 204 lines (8 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 1 class

qtype_ddtoimage_base:: (8 methods):
  choice_group_key()
  get_question_options()
  initialise_question_instance()
  constrain_image_size_in_draft_area()
  write_files()
  get_possible_responses()
  get_random_guess_score()
  delete_question()


Class: qtype_ddtoimage_base  - X-Ref

The drag-and-drop onto image question type class.

choice_group_key()   X-Ref
Returns the choice group key.

return: string

get_question_options($question)   X-Ref
No description

initialise_question_instance(question_definition $question, $questiondata)   X-Ref
No description

constrain_image_size_in_draft_area($draftitemid, $maxwidth, $maxheight)   X-Ref
No description

write_files($files, $indent)   X-Ref
Convert files into text output in the given format.
This method is copied from qformat_default as a quick fix, as the method there is
protected.

param: array $files
param: int $indent Number of spaces to indent
return: string $string

get_possible_responses($questiondata)   X-Ref
No description

get_random_guess_score($questiondata)   X-Ref
No description

delete_question($questionid, $contextid)   X-Ref
No description



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