Go to the source code of this file.
|
| getTarUploadDir (Action &$action) |
|
| getTarExtractDir (Action &$action, $tar) |
|
| import_tar (&$action, $ftar, $dirid=0, $famid=7) |
|
| import_directory (&$action, $ldir, $dirid=0, $famid=7, $dfldid=2, $onlycsv=false, $analyze=false, $csvLinebreak= '\n') |
|
| analyze_csv ($fdlcsv, $dbaccess, $dirid, &$famid, &$dfldid, $analyze, $csvLinebreak= '\n') |
|
| WNGBdecode ($s) |
|
| WNGBDirRename ($ldir) |
|
analyze_csv |
( |
|
$fdlcsv, |
|
|
|
$dbaccess, |
|
|
|
$dirid, |
|
|
& |
$famid, |
|
|
& |
$dfldid, |
|
|
|
$analyze, |
|
|
|
$csvLinebreak = '\n' |
|
) |
| |
getTarExtractDir |
( |
Action & |
$action, |
|
|
|
$tar |
|
) |
| |
getTarUploadDir |
( |
Action & |
$action | ) |
|
import_directory |
( |
& |
$action, |
|
|
|
$ldir, |
|
|
|
$dirid = 0 , |
|
|
|
$famid = 7 , |
|
|
|
$dfldid = 2 , |
|
|
|
$onlycsv = false , |
|
|
|
$analyze = false , |
|
|
|
$csvLinebreak = '\n' |
|
) |
| |
import a directory files
- Parameters
-
action | $action | current action |
string | $ldir | local directory path |
int | $dirid | folder id to add new documents |
int | $famid | default family for raw files |
int | $dfldid | |
bool | $onlycsv | if true only fdl.csv file is imported |
bool | $analyze | dry-mode it true |
string | $csvLinebreak | default line break sequence |
- Returns
- array
Definition at line 64 of file import_tar.php.
import_tar |
( |
& |
$action, |
|
|
|
$ftar, |
|
|
|
$dirid = 0 , |
|
|
|
$famid = 7 |
|
) |
| |
import a directory files
- Parameters
-
action | $action | current action |
string | $ftar | tar file |
Definition at line 49 of file import_tar.php.
decode characters wihich comes from windows zip
- Parameters
-
- Returns
- string decoded string
Definition at line 323 of file import_tar.php.
rename file name which comes from windows zip
- Parameters
-
string | $ldir | directory to decode |
- Returns
- string empty string on success, non-empty string with error message on failure
Definition at line 356 of file import_tar.php.
const TAREXTRACT "/extract/" |