SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class Export

Variables

NameVisibilityDescription
$dbms 
$file_idx 
$file_size 
$filename_prefix 
$generated_files 
$hdr 
$split_size 
$split_table 
$tables 

Functions

NameVisibilityDescription
addTablepublic 
buildArchivepublicLoads all of the generated export files into a ZIP file
createNextFilenameprivateCreates the filename which should be used for the next file if the current file is deemed to be too full
exportSqlpublicExports the specified tables to an SQL file
getGeneratedFilespublic 
getPkColNamesprivateGets the column names for the primary key
setDbmspublic 
setFilenamePrefixpublic 
sizeCheckWriteprivateWrites data to a file, if allowed by the file size restrictions.

public addTable

void $Export->addTable ( ExportTable $table );

This function does not have a description

public buildArchive

void $Export->buildArchive ( mixed $name );

Loads all of the generated export files into a ZIP file

private createNextFilename

unknown $Export->createNextFilename ( mixed $table_name , mixed $ext );

Creates the filename which should be used for the next file if the current file is deemed to be too full

public exportSql

void $Export->exportSql ( );

Exports the specified tables to an SQL file

public getGeneratedFiles

unknown $Export->getGeneratedFiles ( );

This function does not have a description

private getPkColNames

unknown $Export->getPkColNames ( mixed $table );

Gets the column names for the primary key

public setDbms

void $Export->setDbms ( mixed $dbms );

This function does not have a description

public setFilenamePrefix

void $Export->setFilenamePrefix ( mixed $val );

This function does not have a description

private sizeCheckWrite

unknown $Export->sizeCheckWrite ( mixed $handle , mixed $str , mixed $next_filename );

Writes data to a file, if allowed by the file size restrictions.
If not, creates a new file.