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.

(no description)

Copyright: 2010 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 138 lines (4 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 2 classes

restore_path_element:: (11 methods):
  __construct()
  validate_name()
  validate_pobject()
  set_processing_object()
  set_data()
  get_name()
  get_path()
  is_grouped()
  get_processing_object()
  get_processing_method()
  get_data()

restore_path_element_exception:: (1 method):
  __construct()


Class: restore_path_element  - X-Ref

Class representing one path to be restored from XML file

__construct($name, $path, $grouped = false)   X-Ref
Constructor - instantiates one restore_path_element, specifying its basic info.

param: string $name name of the thing being restored. This determines the name of the process_... method called.
param: string $path path of the element.
param: bool $grouped to gather information in grouped mode or no.

validate_name($name)   X-Ref
No description

validate_pobject($pobject)   X-Ref
No description

set_processing_object($pobject)   X-Ref
No description

set_data($data)   X-Ref
No description

get_name()   X-Ref
No description

get_path()   X-Ref
No description

is_grouped()   X-Ref
No description

get_processing_object()   X-Ref
No description

get_processing_method()   X-Ref
No description

get_data()   X-Ref
No description

Class: restore_path_element_exception  - X-Ref

restore_path_element exception class

__construct($errorcode, $a = null, $debuginfo = null)   X-Ref
Constructor - instantiates one restore_path_element_exception

param: string $errorcode key for the corresponding error string
param: object $a extra words and phrases that might be required in the error string
param: string $debuginfo optional debugging information