Go to the source code of this file.
|
| add_import_file (&$action, $fimport) |
|
| csvAddDoc ($dbaccess, $data, $dirid=10, $analyze=false, $ldir= '', $policy="add", $tkey=array("title"), $prevalues=array(), $torder=array()) |
|
| AddImportLog ($msg) |
|
| getOrder ($orderdata) |
|
| AddVaultFile ($dbaccess, $path, $analyze, &$vid) |
|
| seemsODS ($filename) |
|
| ods2csv ($odsfile) |
|
add_import_file |
( |
& |
$action, |
|
|
|
$fimport |
|
) |
| |
AddVaultFile |
( |
|
$dbaccess, |
|
|
|
$path, |
|
|
|
$analyze, |
|
|
& |
$vid |
|
) |
| |
csvAddDoc |
( |
|
$dbaccess, |
|
|
|
$data, |
|
|
|
$dirid = 10 , |
|
|
|
$analyze = false , |
|
|
|
$ldir = '' , |
|
|
|
$policy = "add" , |
|
|
|
$tkey = array( "title" ) , |
|
|
|
$prevalues = array() , |
|
|
|
$torder = array() |
|
) |
| |
Add a document from csv import file
- Parameters
-
string | $dbaccess | database specification |
array | $data | data information conform to Doc::GetImportAttributes() |
int | $dirid | default folder id to add new document |
bool | $analyze | true is want just analyze import file (not really import) |
string | $ldir | path where to search imported files |
string | $policy | add|update|keep policy use if similar document |
array | $tkey | attribute key to search similar documents |
array | $prevalues | default values for new documents |
array | $torder | array to describe CSV column attributes double Http var : Y if want double title document |
- Returns
- array properties of document added (or analyzed to be added)
Definition at line 730 of file import_file.php.
convert ods file in csv file the csv file must be delete by caller after using it
- Returns
- strint the path to the csv file
Definition at line 1184 of file import_file.php.