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

Public Member Functions

 qtype ()

Protected Member Functions

 definition_inner ($mform)
 data_preprocessing ($question)

Detailed Description

Essay question type editing form.

Definition at line 36 of file edit_essay_form.php.


Member Function Documentation

data_preprocessing ( question) [protected]

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 57 of file edit_essay_form.php.

Here is the call graph for this function:

definition_inner ( mform) [protected]

Add any question-type specific form fields.

Parameters:
object$mformthe form being built.

Reimplemented from question_edit_form.

Definition at line 38 of file edit_essay_form.php.

Here is the call graph for this function:

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 85 of file edit_essay_form.php.


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