Public Member Functions | |
save_file () | |
Save the uploaded file and CSV setting if it is CSV import. More... | |
load ($p_import_id) | |
record () | |
Load the file in a temporary table. More... | |
input_file () | |
Display the parameters and the file to upload. More... | |
check () | |
Check the rows of the imported file. More... | |
result () | |
Display the rows of the imported file and a status for each row. More... | |
transfer () | |
Transfer to accountancy. More... | |
result_transfer () | |
Show the result of the file import. More... | |
display_list () | |
delete ($id) | |
Delete a row in impacc.import_file. More... | |
Data Fields | |
$format | |
$filename | |
$import_file | |
Impacc_Import_file_SQL $impid. More... | |
Static Public Attributes | |
static | $aformat =array(1=>"CSV") |
Definition at line 34 of file class_impacc_file.php.
Impacc_File::check | ( | ) |
Impacc_File::delete | ( | $id | ) |
Impacc_File::display_list | ( | ) |
Definition at line 180 of file class_impacc_file.php.
Impacc_File::input_file | ( | ) |
Display the parameters and the file to upload.
Definition at line 118 of file class_impacc_file.php.
References $file, and $format.
Impacc_File::load | ( | $p_import_id | ) |
Impacc_File::record | ( | ) |
Load the file in a temporary table.
Definition at line 107 of file class_impacc_file.php.
References $cn.
Impacc_File::result | ( | ) |
Display the rows of the imported file and a status for each row.
Definition at line 143 of file class_impacc_file.php.
Impacc_File::result_transfer | ( | ) |
Show the result of the file import.
Definition at line 163 of file class_impacc_file.php.
Impacc_File::save_file | ( | ) |
Save the uploaded file and CSV setting if it is CSV import.
Definition at line 50 of file class_impacc_file.php.
Impacc_File::transfer | ( | ) |
Transfer to accountancy.
Definition at line 152 of file class_impacc_file.php.
|
static |
Definition at line 43 of file class_impacc_file.php.
Impacc_File::$filename |
Definition at line 45 of file class_impacc_file.php.
Impacc_File::$format |
Definition at line 44 of file class_impacc_file.php.
Referenced by input_file(), and save_file().
Impacc_File::$import_file |
Impacc_Import_file_SQL $impid.
Definition at line 46 of file class_impacc_file.php.