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

Public Member Functions

 definition ()
 definition_after_data ()
 data_preprocessing (&$default_values)

Detailed Description

Definition at line 55 of file mod_form.php.


Member Function Documentation

data_preprocessing ( &$  default_values)

Function overwritten to change default values using global configuration

Parameters:
array$default_valuespassed by reference

Reimplemented from moodleform_mod.

Definition at line 251 of file mod_form.php.

Abstract method - always override!

$debugoptions=array(); $debugoptions[0] = get_string('debuglaunchoff', 'lti'); $debugoptions[1] = get_string('debuglaunchon', 'lti');

$mform->addElement('select', 'debuglaunch', get_string('debuglaunch', 'lti'), $debugoptions);

if (isset($this->typeconfig['debuglaunch'])) { if ($this->typeconfig['debuglaunch'] == 0) { $mform->setDefault('debuglaunch', '0'); } else if ($this->typeconfig['debuglaunch'] == 1) { $mform->setDefault('debuglaunch', '1'); } }

Reimplemented from moodleform.

Definition at line 57 of file mod_form.php.

Here is the call graph for this function:

Make fields editable or non-editable depending on the administrator choices

See also:
moodleform_mod::definition_after_data()

Reimplemented from moodleform_mod.

Definition at line 239 of file mod_form.php.


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