|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| definition () | |
| validation ($data, $files) | |
| perform some extra moodle validation | |
Data Fields | |
| $_category | |
Definition at line 10 of file delete_category_form.php.
| definition | ( | ) |
Abstract method - always override!
Check permissions, to see if it OK to give the option to delete the contents, rather than move elsewhere. Are there any subcategories of this one, can they be deleted?
Are there any courses in here, can they be deleted?
Are there any questions in the question bank here?
Get the list of categories we might be able to move to.
Now build the options.
Now build the form.
Describe the contents of this category.
Give the options for what to do.
Reimplemented from moodleform.
Definition at line 14 of file delete_category_form.php.

| validation | ( | $ | data, |
| $ | files | ||
| ) |
perform some extra moodle validation
When they have chosen the move option, they must specify a destination.
Reimplemented from moodleform.
Definition at line 134 of file delete_category_form.php.
| $_category |
Definition at line 12 of file delete_category_form.php.