Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
fdl_export1nf.php File Reference

Go to the source code of this file.

Functions

 usage ()
 

Variables

 $usage = new ApiUsage()
 
 $parms
 
if(!is_file($parms['config']))
if(empty($parms['outputsql'])&&empty($parms['outputpgservice']))
if(empty($parms['tmppgservice']))
if(empty($parms['tmpschemaname'])) 
$parms ['tmpemptydb'] = strtolower($parms['tmpemptydb'])
 
if($parms['tmpemptydb']!=
''&&in_array($parms['tmpemptydb'],
array( 'no', 'n', 'non',
'0', 'false'))) elseif($parms['tmpemptydb']==
''||in_array($parms['tmpemptydb'],
array( 'yes', 'y', 'oui', 'o',
'1', 'true'))) 
else
 
 $form1NF = new Form1NF($parms)
 
 $ret = $form1NF->run()
 

Function Documentation

usage ( )

Definition at line 16 of file fdl_export1nf.php.

Variable Documentation

$form1NF = new Form1NF($parms)

RUN

Definition at line 89 of file fdl_export1nf.php.

$parms
Initial value:
= array(
'config' => $usage->addRequiredParameter("config", "configuration file") ,
'outputsql' => $usage->addOptionalParameter("outputsql", "File to output sql", null, "") ,
'outputpgservice' => $usage->addOptionalParameter("outputpgservice", "Pgservice to output", null, "") ,
'tmppgservice' => $usage->addOptionalParameter("tmppgservice", "Tmp pgservice name", null, 'tmp_1nf') ,
'tmpschemaname' => $usage->addOptionalParameter('tmpschemaname', "Tmp shema name", null, 'tmp_1nf') ,
'tmpemptydb' => $usage->addOptionalParameter("tmpemptydb", "Tmp empty database", null, "yes") ,
'sqllog' => $usage->addOptionalParameter("sqllog", "File to log", null, "") ,
)
$usage

Args

Definition at line 34 of file fdl_export1nf.php.

if (!is_file($parms['config'])) if (empty($parms['outputsql'])&&empty($parms['outputpgservice'])) if (empty($parms['tmppgservice'])) if (empty($parms['tmpschemaname'])) $parms['tmpemptydb'] = strtolower($parms['tmpemptydb'])

Checks

Definition at line 64 of file fdl_export1nf.php.

$ret = $form1NF->run()

Definition at line 91 of file fdl_export1nf.php.

$usage = new ApiUsage()

Definition at line 29 of file fdl_export1nf.php.

if ($parms['tmpemptydb']!= ''&&in_array($parms['tmpemptydb'], array( 'no', 'n', 'non', '0', 'false'))) elseif ($parms['tmpemptydb']== ''||in_array($parms['tmpemptydb'], array( 'yes', 'y', 'oui', 'o', '1', 'true'))) else
Initial value:
{
$action->error(sprintf(_("Error: parameter tmpemptydb '%s' is not allowed.")))
global $action

Definition at line 82 of file fdl_export1nf.php.

← centre documentaire © anakeen