Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 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 310 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

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