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 400 and 403]

This file contains all the backup steps that will be used by the backup_lti_activity_task

Author: Marc Alier
Author: Jordi Piguillem
Author: Nikolas Galanis
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: 241 lines (9 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

backup_lti_activity_structure_step:: (2 methods):
  define_structure()
  retrieve_lti_type()


Class: backup_lti_activity_structure_step  - X-Ref

Define the complete assignment structure for backup, with file and id annotations

define_structure()   X-Ref
Defines structure of activity backup

return: backup_nested_element

retrieve_lti_type($ltirecord)   X-Ref
Retrieves a record from {lti_type} table associated with the current activity

Information about site tools is not returned because it is insecure to back it up,
only fields necessary for same-site tool matching are left in the record

return: stdClass|null
param: stdClass $ltirecord record from {lti} table