Go to the source code of this file.
Namespaces | |
FDL | |
Variables | |
global | $appl |
global | $action |
$usage = new ApiUsage() | |
$filename = $usage->addRequiredParameter("file", "the description file path") | |
$analyze | |
$archive | |
$logfile = $usage->addOptionalParameter("log", "log file output") | |
$policy | |
$htmlmode | |
$reinit | |
$reset | |
$to = $usage->addOptionalParameter("to", "email address to send report") | |
$dirid = $usage->addOptionalParameter("dir", "folder where imported documents are put") | |
$strict | |
$csvSeparator | |
$csvEnclosure | |
$csvLinebreak = $usage->addOptionalParameter("csv-linebreak", "character sequence to be import like CRLF", null, '\n') | |
if($dirid) | $oImport = new ImportDocument() |
$cr = $oImport->importDocuments($action, $filename, $analyze != "no", $archive == "yes") | |
$filetmp = false | |
if((!$logfile)&&$to) if($logfile) if($to) | $err = $oImport->getErrorMessage() |
global $action |
Definition at line 17 of file importDocuments.php.
$analyze |
Definition at line 25 of file importDocuments.php.
global $appl |
Definition at line 17 of file importDocuments.php.
$archive |
Definition at line 29 of file importDocuments.php.
$cr = $oImport->importDocuments($action, $filename, $analyze != "no", $archive == "yes") |
Definition at line 152 of file importDocuments.php.
$csvEnclosure |
Definition at line 90 of file importDocuments.php.
$csvLinebreak = $usage->addOptionalParameter("csv-linebreak", "character sequence to be import like CRLF", null, '\n') |
Definition at line 107 of file importDocuments.php.
$csvSeparator |
Definition at line 73 of file importDocuments.php.
$dirid = $usage->addOptionalParameter("dir", "folder where imported documents are put") |
Definition at line 66 of file importDocuments.php.
Definition at line 183 of file importDocuments.php.
$filename = $usage->addRequiredParameter("file", "the description file path") |
Definition at line 24 of file importDocuments.php.
$filetmp = false |
Definition at line 154 of file importDocuments.php.
$htmlmode |
Definition at line 39 of file importDocuments.php.
$logfile = $usage->addOptionalParameter("log", "log file output") |
Definition at line 33 of file importDocuments.php.
if ($dirid) $oImport = new ImportDocument() |
Definition at line 145 of file importDocuments.php.
$policy |
Definition at line 34 of file importDocuments.php.
$reinit |
Definition at line 43 of file importDocuments.php.
$reset |
Definition at line 47 of file importDocuments.php.
$strict |
Definition at line 68 of file importDocuments.php.
$to = $usage->addOptionalParameter("to", "email address to send report") |
Definition at line 65 of file importDocuments.php.
Definition at line 22 of file importDocuments.php.