Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

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