Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 400] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 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: 285 lines (11 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

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