Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 310] [Versions 39 and 311] [Versions 39 and 400] [Versions 39 and 401] [Versions 39 and 402] [Versions 39 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: 390 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.

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