[ Index ]

PHP Cross Reference of Moodle 310

title

Body

[close]

/admin/tool/log/store/database/backup/moodle2/ -> restore_logstore_database_subplugin.class.php (summary)

Restore implementation for the (tool_log) logstore_database subplugin.

Copyright: 2015 Mark Nelson <markn@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 102 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

restore_logstore_database_subplugin:: (3 methods):
  __construct()
  define_logstore_subplugin_structure()
  process_logstore_database_log()


Class: restore_logstore_database_subplugin  - X-Ref

__construct($subplugintype, $subpluginname, $step)   X-Ref
The constructor for this logstore.

param: string $subplugintype the subplugin type.
param: string $subpluginname the subplugin name.
param: restore_structure_step $step.

define_logstore_subplugin_structure()   X-Ref
Returns the subplugin structure to attach to the 'logstore' XML element.

return: restore_path_element[] array of elements to be processed on restore.

process_logstore_database_log($data)   X-Ref
Process logstore_database_log entries.

This method proceeds to read, complete, remap and, finally,
discard or save every log entry.

param: array() $data log entry.
return: null if we are not restoring the log.



Generated: Wed Jan 22 11:59:49 2025 Cross-referenced by PHPXref 0.7.1