Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 and 403] [Versions 402 and 403]
This file defines the main lti configuration form
Author: | Marc Alier |
Author: | Jordi Piguillem |
Author: | Nikolas Galanis |
Author: | Chris Scribner |
Copyright: | 2009 Marc Alier, Jordi Piguillem, Nikolas Galanis |
Copyright: | 2009 Universitat Politecnica de Catalunya http://www.upc.edu |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 550 lines (30 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
mod_lti_mod_form:: (5 methods):
__construct()
legacy_instance_form_definition()
definition()
set_data()
validation()
Class: mod_lti_mod_form - X-Ref
__construct($current, $section, $cm, $course) X-Ref |
Constructor. Throws an exception if trying to init the form for a new manual instance of a tool, which is not supported in 4.3 onward. param: \stdClass $current the current form data. param: string $section the section number. param: \stdClass $cm the course module object. param: \stdClass $course the course object. |
legacy_instance_form_definition(array $instancetypes) X-Ref |
Defines the form for legacy instances. Here tool config is frozen because the manual configuration method is deprecated. param: array $instancetypes the array of options for the legacy 'preconfigured tools' select. return: void |
definition() X-Ref |
No description |
set_data($defaultvalues) X-Ref |
Sets the current values handled by services in case of update. param: object $defaultvalues default values to populate the form with. |
validation($data, $files) X-Ref |
No description |