Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 and 403] [Versions 402 and 403]

This file contains all the restore steps that will be used by the restore_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: 310 lines (12 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class


Class: restore_lti_activity_structure_step  - X-Ref

Structure step to restore one lti activity

define_structure()   X-Ref
No description

process_lti($data)   X-Ref
No description

process_ltitype($data)   X-Ref
Process an lti type restore

param: mixed $data The data from backup XML file
return: void

process_lticoursevisible($data)   X-Ref
Process an lti coursevisible restore

param: mixed $data The data from backup XML file
return: void

find_existing_lti_type($data)   X-Ref
Attempts to find existing record in lti_type

param: stdClass $data
return: int|null field lti_types.id or null if tool is not found

process_ltitypesconfig($data)   X-Ref
Process an lti config restore

param: mixed $data The data from backup XML file

process_ltitypesconfigencrypted($data)   X-Ref
Process an lti config restore

param: mixed $data The data from backup XML file

process_ltitoolproxy($data)   X-Ref
Process a restore of LTI tool registration
This method is empty because we actually process registration as part of process_ltitype()

param: mixed $data The data from backup XML file

process_ltitoolsetting($data)   X-Ref
Process an lti tool registration settings restore (only settings for the current activity)

param: mixed $data The data from backup XML file

process_ltisubmission($data)   X-Ref
Process a submission restore

param: mixed $data The data from backup XML file

after_execute()   X-Ref
No description