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

Public Member Functions

 definition ()
 definition_after_data ()
 validation ($data, $files)
 perform some extra moodle validation

Protected Attributes

 $course
 $context

Detailed Description

Definition at line 8 of file edit_form.php.


Member Function Documentation

Abstract method - always override!

form definition with new course defaults

customizable role names in this course

finally set the current form data

Reimplemented from moodleform.

Definition at line 12 of file edit_form.php.

Here is the call graph for this function:

Dummy stub method - override if you need to setup the form depending on current values. This method is called after definition(), data submission and set_data(). All form setup that is dependent on form values should go in here.

Reimplemented from moodleform.

Definition at line 326 of file edit_form.php.

Here is the call graph for this function:

validation ( data,
files 
)

perform some extra moodle validation

Reimplemented from moodleform.

Definition at line 346 of file edit_form.php.

Here is the call graph for this function:


Field Documentation

$context [protected]

Definition at line 10 of file edit_form.php.

$course [protected]

Definition at line 9 of file edit_form.php.


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