SproutCMS

This is the code documentation for the SproutCMS project

class DatabaseSync

Provides a system for syncing a database to a database definition.

The database definition is stored in one or more XML files, which get merged
together before the sync is done.
Contains code that may be MySQL specific.

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2024-11-25
**/
class NewClassName extends DatabaseSync {
    
    /**
    * Load the db_struct.xml from core and from all modules
    **/
    public function loadStandardXmlFiles () {
        // Method code goes here
    }
    
    public function getPdb () {
        // Method code goes here
    }
    
}
?>