Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
restore_path_element Class Reference

Class representing one path to be restored from XML file. More...

Public Member Functions

 __construct ($name, $path, $grouped=false)
 Constructor - instantiates one restore_path_element, specifying its basic info.
 
 get_data ()
 
 get_name ()
 
 get_path ()
 
 get_processing_method ()
 
 get_processing_object ()
 
 is_grouped ()
 
 set_data ($data)
 
 set_processing_object ($pobject)
 Public API starts here.
 

Protected Member Functions

 validate_name ($name)
 
 validate_pobject ($pobject)
 

Detailed Description

Class representing one path to be restored from XML file.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

TODO: Finish phpdocs

Constructor & Destructor Documentation

◆ __construct()

restore_path_element::__construct ( $name,
$path,
$grouped = false )

Constructor - instantiates one restore_path_element, specifying its basic info.

Parameters
string$namename of the thing being restored. This determines the name of the process_... method called.
string$pathpath of the element.
bool$groupedto gather information in grouped mode or no.

The documentation for this class was generated from the following file: