Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
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) | |
Class representing one path to be restored from XML file.
restore_path_element::__construct | ( | $name, | |
$path, | |||
$grouped = false ) |
Constructor - instantiates one restore_path_element, specifying its basic info.
string | $name | name of the thing being restored. This determines the name of the process_... method called. |
string | $path | path of the element. |
bool | $grouped | to gather information in grouped mode or no. |