Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 310 and 400] [Versions 39 and 400] [Versions 400 and 403]

This file defines de main basiclti configuration form

Author: Marc Alier
Author: Jordi Piguillem
Author: Nikolas Galanis
Author: Charles Severance
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: 393 lines (19 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

mod_lti_edit_types_form:: (4 methods):
  definition()
  get_data()
  get_lti_advantage_services()
  validation()


Class: mod_lti_edit_types_form  - X-Ref

LTI Edit Form

definition()   X-Ref
Define this form.


get_data()   X-Ref
Retrieves the data of the submitted form.

return: stdClass

get_lti_advantage_services(&$mform)   X-Ref
Generates the lti advantage extra configuration adding it to the mform

param: MoodleQuickForm $mform

validation($data, $files)   X-Ref
Validate the form data before we allow them to save the tool type.

return: array Error messages
param: array $data
param: array $files