Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
moodle1_info_handler Class Reference

Handles the conversion of /MOODLE_BACKUP/INFO paths. More...

Inheritance diagram for moodle1_info_handler:
moodle1_handler loggable

Public Member Functions

 get_converter ()
 
 get_paths ()
 
 log ($message, $level, $a=null, $depth=null, $display=false)
 This function will be responsible for handling the params, and to call to the corresponding logger->process() once all modifications in params have been performed.
 
 on_info_details_end ()
 Stashes the list of activity module types for later processing by moodle1_root_handler.
 
 on_info_details_mod_end ($data)
 Stashes the backup info for later processing by moodle1_root_handler.
 
 process_info ($data)
 Stashes the backup info for later processing by moodle1_root_handler.
 
 process_info_details_mod ($data)
 Initializes the in-memory cache for the current mod.
 
 process_info_details_mod_instance ($data)
 Appends the current instance data to the temporary in-memory cache.
 

Protected Attributes

moodle1_converter $converter
 
array $currentmod
 the in-memory cache of the currently parsed info_details_mod element
 
array $modnames = array()
 list of mod names included in info_details
 

Detailed Description

Handles the conversion of /MOODLE_BACKUP/INFO paths.

We do not produce any XML file here, just storing the data in the temp table so thay can be used by a later handler.

Member Function Documentation

◆ get_converter()

moodle1_handler::get_converter ( )
inherited
Return values
moodle1_converterthe converter that required this handler

◆ log()

moodle1_handler::log ( $message,
$level,
$a = null,
$depth = null,
$display = false )
inherited

This function will be responsible for handling the params, and to call to the corresponding logger->process() once all modifications in params have been performed.

Implements loggable.


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