◆ __construct()
Object constructor. 
- Parameters
 - 
  
  
 
- See also
 - moodle_database object). 
 
- Parameters
 - 
  
  
 
- See also
 - moodle_database object). 
 
- Parameters
 - 
  
    | boolean | $check_schema | - whether or not to check that XML database schema matches the RDBMS database schema before exporting (used by  | 
    | progress_trace | $feedback | Progress tracing object  | 
  
   
- See also
 - export_database). 
 
 
 
◆ begin_database_export()
      
        
          | database_mover::begin_database_export  | 
          ( | 
            | 
          $version,  | 
        
        
           | 
           | 
            | 
          $release,  | 
        
        
           | 
           | 
            | 
          $timestamp,  | 
        
        
           | 
           | 
            | 
          $description  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Callback function. 
Calls importer's begin_database_import callback method.
- Parameters
 - 
  
    | float | $version | the version of the system which generating the data  | 
    | string | $release | moodle release info  | 
    | string | $timestamp | the timestamp of the data (in ISO 8601) format.  | 
    | string | $description | a user description of the data.  | 
  
   
- Return values
 - 
  
  
 
Reimplemented from database_exporter.
 
 
◆ begin_table_export()
      
        
          | database_mover::begin_table_export  | 
          ( | 
          xmldb_table  | 
          $table | ) | 
           | 
        
      
 
Callback function. 
Calls importer's begin_table_import callback method.
- Parameters
 - 
  
  
 
- Return values
 - 
  
  
 
Reimplemented from database_exporter.
 
 
◆ export_database()
  
  
      
        
          | database_exporter::export_database  | 
          ( | 
            | 
          $description = null | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
 
◆ export_table_data()
      
        
          | database_mover::export_table_data  | 
          ( | 
          xmldb_table  | 
          $table,  | 
        
        
           | 
           | 
            | 
          $data  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Callback function. 
Calls importer's import_table_data callback method.
- Parameters
 - 
  
    | xmldb_table | $table | - XMLDB object of the table from which data was retrieved  | 
    | object | $data | - data object (fields and values from record)  | 
  
   
- Return values
 - 
  
  
 
Reimplemented from database_exporter.
 
 
◆ finish_database_export()
      
        
          | database_mover::finish_database_export  | 
          ( | 
           | ) | 
           | 
        
      
 
Callback function. 
Calls importer's finish_database_import callback method. 
- Return values
 - 
  
  
 
Reimplemented from database_exporter.
 
 
◆ finish_table_export()
      
        
          | database_mover::finish_table_export  | 
          ( | 
          xmldb_table  | 
          $table | ) | 
           | 
        
      
 
Callback function. 
Calls importer's finish_table_import callback method. 
- Parameters
 - 
  
  
 
- Return values
 - 
  
  
 
Reimplemented from database_exporter.
 
 
◆ set_transaction_mode()
      
        
          | database_mover::set_transaction_mode  | 
          ( | 
            | 
          $mode | ) | 
           | 
        
      
 
How to use transactions during the transfer. 
- Parameters
 - 
  
    | string | $mode | 'pertable', 'allinone' or 'none'.  | 
  
   
 
 
◆ $check_schema
  
  
      
        
          | bool database_exporter::$check_schema | 
         
       
   | 
  
protectedinherited   | 
  
 
Boolean flag - whether or not to check that XML database schema matches the RDBMS database schema before exporting (used by. 
- See also
 - export_database). 
 
 
 
◆ $manager
◆ $mdb
◆ $schema
Source database schema in XMLDB format (a. 
- See also
 - xmldb_structure object). 
 
 
 
The documentation for this class was generated from the following file: