|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Non instantiable helper class providing DB support to the backup_structure stuff. More...
Static Public Member Functions | |
| static | annotate_files ($backupid, $contextid, $component, $filearea, $itemid, ?\core\progress\base $progress=null) |
| Adds backup id database record for all files in the given file area. | |
| static | annotations_exist ($backupid, $itemname) |
| Returns true/false if there are annotations for a given item. | |
| static | convert_params_to_values ($params, $processor) |
| static | get_iterator ($element, $params, $processor) |
| static | insert_backup_ids_record ($backupid, $itemname, $itemid) |
| static | move_annotations_to_final ($backupid, $itemname, core\progress\base $progress) |
| Moves all the existing 'item' annotations to their final 'itemfinal' ones for a given backup. | |
Non instantiable helper class providing DB support to the backup_structure stuff.
This class contains various static methods available for all the DB operations performed by the backup_structure stuff (mainly @backup_nested_element class)
TODO: Finish phpdocs
|
static |
Adds backup id database record for all files in the given file area.
| string | $backupid | Backup ID |
| int | $contextid | Context id |
| string | $component | Component |
| string | $filearea | File area |
| int | $itemid | Item id |
| core\progress\base | $progress |
|
static |
Moves all the existing 'item' annotations to their final 'itemfinal' ones for a given backup.
| string | $backupid | Backup ID |
| string | $itemname | Item name |
| core\progress\base | $progress | Progress tracker |