Inheritance diagram for GenImport_Main:
Collaboration diagram for GenImport_Main:Public Member Functions | |
| render () | |
Public Attributes | |
| $sClassDo = "genImport_do" | |
| $sClassMain = "genImport_main" | |
Protected Member Functions | |
| _deleteCsvFile () | |
| _getCsvFieldsNames () | |
| _getCsvFirstRow () | |
| _resetUploadedCsvData () | |
| _checkErrors ($iNavStep) | |
| _getUploadedCsvFilePath () | |
| _checkImportErrors ($oErpImport) | |
| _getCsvFieldsTerminator () | |
| _getCsvFieldsEncolser () | |
Protected Attributes | |
| $_sCsvFilePath = null | |
| $_sStringTerminator = null | |
| $_sStringEncloser = null | |
| $_sDefaultStringTerminator = ";" | |
| $_sDefaultStringEncloser = '"' | |
| $_sThisTemplate = "genimport_main.tpl" | |
Admin general export manager.
Definition at line 6 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 227 of file genimport_main.php.
| GenImport_Main._checkImportErrors | ( | $ | oErpImport | ) | [protected] |
Checks if any error occured during import and displays them
| object | $oErpImport Import object |
Definition at line 291 of file genimport_main.php.
| GenImport_Main._deleteCsvFile | ( | ) | [protected] |
Deletes uploaded csv file from temp directory
Definition at line 150 of file genimport_main.php.
| GenImport_Main._getCsvFieldsEncolser | ( | ) | [protected] |
| 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 164 of file genimport_main.php.
| GenImport_Main._getCsvFieldsTerminator | ( | ) | [protected] |
| GenImport_Main._getCsvFirstRow | ( | ) | [protected] |
Get first row from uploaded CSV file
Definition at line 193 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 265 of file genimport_main.php.
| GenImport_Main._resetUploadedCsvData | ( | ) | [protected] |
Resets CSV parameters stored in session
Definition at line 212 of file genimport_main.php.
| GenImport_Main.render | ( | ) |
Creates shop object, passes shop data to Smarty engine and returns name of template file
Reimplemented from oxAdminDetails.
Definition at line 65 of file genimport_main.php.
GenImport_Main.$_sCsvFilePath = null [protected] |
Definition at line 27 of file genimport_main.php.
GenImport_Main.$_sDefaultStringEncloser = '"' [protected] |
Definition at line 51 of file genimport_main.php.
GenImport_Main.$_sDefaultStringTerminator = ";" [protected] |
Definition at line 45 of file genimport_main.php.
GenImport_Main.$_sStringEncloser = null [protected] |
Definition at line 39 of file genimport_main.php.
GenImport_Main.$_sStringTerminator = null [protected] |
Definition at line 33 of file genimport_main.php.
GenImport_Main.$_sThisTemplate = "genimport_main.tpl" [protected] |
Reimplemented from oxAdminView.
Reimplemented in GenImport.
Definition at line 57 of file genimport_main.php.
| GenImport_Main.$sClassDo = "genImport_do" |
Definition at line 13 of file genimport_main.php.
| GenImport_Main.$sClassMain = "genImport_main" |
Definition at line 20 of file genimport_main.php.
1.7.1