Moodle  2.2.1
http://www.collinsharper.com
qtype_truefalse_edit_form Class Reference
Inheritance diagram for qtype_truefalse_edit_form:
Collaboration diagram for qtype_truefalse_edit_form:

Public Member Functions

 data_preprocessing ($question)
 qtype ()

Protected Member Functions

 definition_inner ($mform)

Detailed Description

True-false question editing form definition.

Definition at line 39 of file edit_truefalse_form.php.


Member Function Documentation

data_preprocessing ( question)

Perform an preprocessing needed on the data passed to set_data() before it is used to initialise the form.

Parameters:
object$questionthe data being passed to the form.
Returns:
object $question the modified data.

Reimplemented from question_edit_form.

Definition at line 69 of file edit_truefalse_form.php.

Here is the call graph for this function:

definition_inner ( mform) [protected]

Add question-type specific form fields.

Parameters:
object$mformthe form being built.

Reimplemented from question_edit_form.

Definition at line 45 of file edit_truefalse_form.php.

qtype ( )

Override this in the subclass to question type name.

Returns:
the question type name, should be the same as the name() method in the question type class.

Reimplemented from question_edit_form.

Definition at line 116 of file edit_truefalse_form.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations