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 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 401 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: 291 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