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 401 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