FOSSology  4.4.0
Open Source License Compliance by Open Source Software
schema-export.php File Reference

Export a schema in the format used by GetSchema(). This is typically used to export from fossology-gold but can be used on any db. More...

Go to the source code of this file.

Variables

 $AllPossibleOpts = "abc:d:ef:ghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
 
 $Verbose = false
 
 $DatabaseName = "fossology"
 
 $UpdateLiceneseRef = false
 
 $showUsage = false
 
 $SchemaFilePath = "$MODDIR/www/ui/core-schema.dat"
 
 $Options = getopt($AllPossibleOpts)
 

Detailed Description

Export a schema in the format used by GetSchema(). This is typically used to export from fossology-gold but can be used on any db.

This is not a stand alone file. It must be used with fo_wrapper.php ln -s fo_wrapper.php schema-export

Returns
0 for success, 1 for failure.

Definition in file schema-export.php.