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

Public Member Functions

 __construct ($current, $section, $cm, $course)
 definition ()
 data_preprocessing (&$data)
 definition_after_data ()

Protected Attributes

 $course = null

Detailed Description

Module settings form for Workshop instances

Definition at line 40 of file mod_form.php.


Constructor & Destructor Documentation

__construct ( current,
section,
cm,
course 
)

Constructor

Definition at line 48 of file mod_form.php.


Member Function Documentation

data_preprocessing ( &$  data)

Prepares the form before data are set

Additional wysiwyg editor are prepared here, the introeditor is prepared automatically by core. Grade items are set here because the core modedit supports single grade item only.

Parameters:
array$datato be set
Returns:
void

Reimplemented from moodleform_mod.

Definition at line 213 of file mod_form.php.

Here is the call graph for this function:

Defines the workshop instance configuration form

Returns:
void

Reimplemented from moodleform.

Definition at line 58 of file mod_form.php.

Here is the call graph for this function:

Set the grade item categories when editing an instance

Reimplemented from moodleform_mod.

Definition at line 246 of file mod_form.php.

Here is the call graph for this function:


Field Documentation

$course = null [protected]

Definition at line 43 of file mod_form.php.


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