[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/mod/workshop/form/ -> edit_form.php (summary)

This file defines a base class for all grading strategy editing forms.

Copyright: 2009 David Mudrak <[email protected]>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 92 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

workshop_edit_strategy_form:: (2 methods):
  definition()
  definition_inner()


Class: workshop_edit_strategy_form  - X-Ref

Base class for editing all the strategy grading forms.

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

definition()   X-Ref
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().
Stretegy subclassess should define their own fields in definition_inner()

return: void

definition_inner(&$mform)   X-Ref
Add any strategy specific form fields.

param: stdClass $mform the form being built.



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1