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

Public Member Functions

 __construct ($submiturl, $filter, $context)
 definition ()
 save_changes ($data)

Protected Member Functions

 definition_inner ($mform)

Protected Attributes

 $filter
 $context

Detailed Description

Definition at line 29 of file local_settings_form.php.


Constructor & Destructor Documentation

__construct ( submiturl,
filter,
context 
)

Definition at line 33 of file local_settings_form.php.

Here is the call graph for this function:


Member Function Documentation

Build the form definition. Rather than overriding this method, you should probably override definition_inner instead.

This method adds the necessary hidden fields and submit buttons, and calls definition_inner to insert the custom controls in the appropriate place.

Reimplemented from moodleform.

Definition at line 46 of file local_settings_form.php.

Here is the call graph for this function:

definition_inner ( mform) [abstract, protected]

Override this method to add your form controls.

Parameters:
$mformthe form we are building. $this->_form, but passed in for convenience.

Here is the caller graph for this function:

save_changes ( data)

Override this method to save the settings to the database. The default implementation will probably be sufficient for most simple cases.

Parameters:
object$datathe form data that was submitted.

Definition at line 73 of file local_settings_form.php.

Here is the call graph for this function:


Field Documentation

$context [protected]

Definition at line 31 of file local_settings_form.php.

$filter [protected]

Definition at line 30 of file local_settings_form.php.


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