SproutCMS

This is the code documentation for the SproutCMS project

class Export

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2024-04-28
**/
class NewClassName extends Export {
    
    /**
    * Loads all of the generated export files into a ZIP file
    **/
    public function buildArchive ($name) {
        // Method code goes here
    }
    
    /**
    * Creates the filename which should be used for the next file if the current file is deemed to be too full
    **/
    private function createNextFilename ($table_name, $ext) {
        // Method code goes here
    }
    
    /**
    * Gets the column names for the primary key
    **/
    private function getPkColNames ($table) {
        // Method code goes here
    }
    
    /**
    * Writes data to a file, if allowed by the file size restrictions.
    * If not, creates a new file.
    **/
    private function sizeCheckWrite ($handle, $str, $next_filename) {
        // Method code goes here
    }
    
    /**
    * Exports the specified tables to an SQL file
    **/
    public function exportSql () {
        // Method code goes here
    }
    
    public function setDbms ($dbms) {
        // Method code goes here
    }
    
    public function getGeneratedFiles () {
        // Method code goes here
    }
    
    public function setFilenamePrefix ($val) {
        // Method code goes here
    }
    
    public function addTable (ExportTable $table) {
        // Method code goes here
    }
    
}
?>