[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/mod/workshop/eval/ -> lib.php (summary)

This file defines interface of all grading evaluation classes

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

Defines 1 class

workshop_evaluation_settings_form:: (2 methods):
  definition()
  definition_sub()

Defines 2 functions

  get_settings_form()
  delete_instance()

Class: workshop_evaluation_settings_form  - X-Ref

Base form to hold eventual evaluation settings.

definition()   X-Ref
Defines the common form fields.


definition_sub()   X-Ref
Defines the subplugin specific fields.


Functions
Functions that are not part of a class:

get_settings_form(moodle_url $actionurl=null)   X-Ref
Returns an instance of the form to provide evaluation settings.

This is called by view.php (to display) and aggregate.php (to process and dispatch).
It returns the basic form with just the submit button by default. Evaluators may
extend or overwrite the default form to include some custom settings.

return: workshop_evaluation_settings_form

delete_instance($workshopid)   X-Ref
Delete all data related to a given workshop module instance

This is called from {@link workshop_delete_instance()}.

param: int $workshopid id of the workshop module instance being deleted
return: void



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