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

Public Member Functions

 definition ()

Protected Member Functions

 definition_inner (&$mform)

Detailed Description

Base class for all assessment forms

This defines the common fields that all assessment forms need. Strategies should define their own class that inherits from this one, and implements the definition_inner() method.

moodleform

Definition at line 40 of file assessment_form.php.


Member Function Documentation

Add the fields that are common for all grading strategies.

If the strategy does not support all these fields, then you can override this method and remove the ones you don't want with $mform->removeElement(). Strategy subclassess should define their own fields in definition_inner()

Returns:
void

Reimplemented from moodleform.

Definition at line 52 of file assessment_form.php.

Here is the call graph for this function:

definition_inner ( &$  mform) [protected]

Add any strategy specific form fields.

Parameters:
stdClass$mformthe form being built.

Reimplemented in workshop_rubric_grid_assessment_form, workshop_rubric_list_assessment_form, workshop_accumulative_assessment_form, workshop_comments_assessment_form, and workshop_numerrors_assessment_form.

Definition at line 93 of file assessment_form.php.

Here is the caller graph for this function:


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