Definition at line 6 of file genimport_main.php.
Public Member Functions | |
render () | |
Public Attributes | |
$sClass_do = "genImport_do" | |
$sClass_main = "genImport_main" | |
Protected Member Functions | |
_deleteCsvFile () | |
_getCsvFieldsNames () | |
_getCsvFirstRow () | |
_resetUploadedCsvData () | |
_checkErrors ($iNavStep) | |
_getUploadedCsvFilePath () | |
_checkImportErrors ($oErpImport) | |
Protected Attributes | |
$_sCsvFilePath | |
$_sThisTemplate = "genimport_main.tpl" |
GenImport_Main.render | ( | ) |
Creates shop object, passes shop data to Smarty engine and returns name of template file
Reimplemented from oxAdminDetails.
Definition at line 25 of file genimport_main.php.
GenImport_Main._deleteCsvFile | ( | ) | [protected] |
Deletes uploaded csv file from temp directory
Definition at line 96 of file genimport_main.php.
GenImport_Main._getCsvFieldsNames | ( | ) | [protected] |
Get columns names from CSV file header. If file has no header returns default columns names Column 1, Column 2..
Definition at line 111 of file genimport_main.php.
GenImport_Main._getCsvFirstRow | ( | ) | [protected] |
Get first row from uploaded CSV file
Definition at line 136 of file genimport_main.php.
GenImport_Main._resetUploadedCsvData | ( | ) | [protected] |
Resets CSV parameters stored in session
Definition at line 156 of file genimport_main.php.
GenImport_Main._checkErrors | ( | $ | iNavStep | ) | [protected] |
Checks current import navigation step errors. Returns step id in which error occured.
int | $iNavStep Navigation step id |
Definition at line 172 of file genimport_main.php.
GenImport_Main._getUploadedCsvFilePath | ( | ) | [protected] |
Checks if CSV file was uploaded. If uploaded - moves it to temp dir and stores path to file in session. Return path to uploaded file.
Definition at line 210 of file genimport_main.php.
GenImport_Main._checkImportErrors | ( | $ | oErpImport | ) | [protected] |
Checks if any error occured during import and displays them
Definition at line 236 of file genimport_main.php.
GenImport_Main.$sClass_do = "genImport_do" |
Definition at line 8 of file genimport_main.php.
GenImport_Main.$sClass_main = "genImport_main" |
Definition at line 9 of file genimport_main.php.
GenImport_Main.$_sCsvFilePath [protected] |
Definition at line 11 of file genimport_main.php.
GenImport_Main.$_sThisTemplate = "genimport_main.tpl" [protected] |
Reimplemented from oxAdminView.
Reimplemented in GenImport.
Definition at line 17 of file genimport_main.php.