FOSSology  4.7.0-rc1
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

if(!empty($MODDIR)) else
 
if($dir===false) $dir = dirname($dir)
 
 $AllPossibleOpts = "abc:d:ef:ghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
 
 $Verbose = false
 
 $DatabaseName = "fossology"
 
 $UpdateLiceneseRef = false
 
 $showUsage = false
 
 $SchemaFilePath = "$dir/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.

Variable Documentation

◆ else

if (!empty( $MODDIR)) else
Initial value:
{
$dir = getcwd()

Definition at line 26 of file schema-export.php.