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

Public Member Functions

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

Data Fields

 $_category

Detailed Description

Definition at line 10 of file delete_category_form.php.


Member Function Documentation

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.

Here is the call graph for this function:

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.


Field Documentation

$_category

Definition at line 12 of file delete_category_form.php.


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