Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
importDocuments.php File Reference

Go to the source code of this file.

Namespaces

namespace  FDL
 

Variables

global $appl
 
global $action
 
 $usage = new ApiUsage()
 
 $filename = $usage->addNeeded("file", "the description file path")
 
 $analyze
 
 $archive
 
 $logfile = $usage->addOption("log", "log file output")
 
 $htmlmode
 
 $reinit
 
 $to = $usage->addOption("to", "email address to send report")
 
 $cr = importDocuments($action, $filename, $analyze, $archive)
 
 $filetmp = false
 
if((!$logfile)&&$to) if($logfile)
if($to) 
else
 

Variable Documentation

global $action

Definition at line 19 of file importDocuments.php.

$analyze
Initial value:
= $usage->addOption("analyze", "analyze only", array(
"yes",
"no"
) , "no")

Definition at line 27 of file importDocuments.php.

global $appl

Definition at line 19 of file importDocuments.php.

$archive
Initial value:
= $usage->addOption("archive", "description file is an standard archive (not xml)", array(
"yes",
"no"
) , "no")

Definition at line 31 of file importDocuments.php.

$cr = importDocuments($action, $filename, $analyze, $archive)

Definition at line 66 of file importDocuments.php.

$filename = $usage->addNeeded("file", "the description file path")

Definition at line 26 of file importDocuments.php.

$filetmp = false

Definition at line 68 of file importDocuments.php.

$htmlmode
Initial value:
= $usage->addOption("htmlmode", "analyze report mode in html", array(
"yes",
"no"
) , "yes")

Definition at line 36 of file importDocuments.php.

$logfile = $usage->addOption("log", "log file output")

Definition at line 35 of file importDocuments.php.

$reinit
Initial value:
= $usage->addOption("reinitattr", "reset attribute before import family update", array(
"yes",
"no"
))

Definition at line 40 of file importDocuments.php.

$to = $usage->addOption("to", "email address to send report")

Definition at line 44 of file importDocuments.php.

$usage = new ApiUsage()

Definition at line 24 of file importDocuments.php.

if ((!$logfile)&&$to) if ($logfile) if ($to) else
Initial value:
{
if (GetHttpVars("htmlmode") == "Y") print $out

Definition at line 96 of file importDocuments.php.

← centre documentaire © anakeen - published under CC License - Dynacase