|
OXID eShop CE
4.10.2
|
Inheritance diagram for GenImport_Main:
Collaboration diagram for GenImport_Main:Public Attributes | |
| $sClassDo = "genImport_do" | |
| $sClassMain = "genImport_main" | |
Protected Member Functions | |
| _deleteCsvFile () | |
| _getCsvFieldsNames () | |
| _getCsvFirstRow () | |
| _resetUploadedCsvData () | |
| _checkErrors ($iNavStep) | |
| _getUploadedCsvFilePath () | |
| _checkImportErrors ($oErpImport) | |
| _getCsvFieldsTerminator () | |
| _getCsvFieldsEncolser () | |
Protected Member Functions inherited from oxAdminDetails | |
| _getTextEditor ($iWidth, $iHeight, $oObject, $sField, $sStylesheet=null) | |
| _getEditValue ($oObject, $sField) | |
| _processEditValue ($sValue) | |
| _getPlainEditor ($iWidth, $iHeight, $oObject, $sField) | |
| _generateTextEditor ($iWidth, $iHeight, $oObject, $sField, $sStylesheet=null) | |
| _createCategoryTree ($sTplVarName, $sEditCatId= '', $blForceNonCache=false, $iTreeShopId=null) | |
| _getCategoryTree ($sTplVarName, $sSelectedCatId, $sEditCatId= '', $blForceNonCache=false, $iTreeShopId=null) | |
| _setupNavigation ($sNode) | |
| _resetCounts ($aIds) | |
Protected Member Functions inherited from oxAdminView | |
| _getEditShop ($sShopId) | |
| _getServiceProtocol () | |
| _getShopVersionNr () | |
| _addNavigationHistory ($sNode) | |
| _getMaxUploadFileInfo ($iMaxFileSize, $blFormatted=false) | |
| _resetContentCache () | |
| _allowAdminEdit ($sUserId) | |
| _getCountryByCode ($sCountryCode) | |
| _authorize () | |
Protected Member Functions inherited from oxView | |
| _executeNewAction ($sNewAction) | |
Protected Attributes | |
| $_sCsvFilePath = null | |
| $_sStringTerminator = null | |
| $_sStringEncloser = null | |
| $_sDefaultStringTerminator = ";" | |
| $_sDefaultStringEncloser = '"' | |
| $_sThisTemplate = "genimport_main.tpl" | |
Protected Attributes inherited from oxAdminDetails | |
| $_oEditor = null | |
Protected Attributes inherited from oxAdminView | |
| $_aSumType | |
| $_sThisTemplate = null | |
| $_iDefEdit = 0 | |
| $_iEditLang = 0 | |
| $_sShopTitle = " - " | |
| $_sShopVersion = null | |
| $_sServiceUrl = null | |
| $_oEditShop = null | |
| $_sEditObjectId = null | |
Protected Attributes inherited from oxView | |
| $_aViewData = array() | |
| $_sClassLocation = null | |
| $_sThisAction = null | |
| $_oParent = null | |
| $_blIsComponent = false | |
| $_sThisTemplate = null | |
| $_sViewId = null | |
| $_sClass = null | |
| $_sFnc = null | |
| $_sTrustedShopId = null | |
| $_sTSExcellenceId = null | |
| $_sCharSet = null | |
| $_sVersion = null | |
| $_blDemoVersion = null | |
| $_blDemoShop = null | |
| $_iNewsStatus = null | |
| $_sShopLogo = null | |
| $_sCategoryId = null | |
| $_oClickCat = null | |
| $_blIsCallForCache = false | |
| $_oViewConf = null | |
Private Member Functions | |
| setErrorToView ($sInvalidData) | |
Additional Inherited Members | |
Static Protected Attributes inherited from oxAdminView | |
| static | $_oNaviTree = null |
| static | $_sAuthUserRights = null |
Admin general export manager.
Definition at line 6 of file genimport_main.php.
|
protected |
Checks current import navigation step errors. Returns step id in which error occured.
| int | $iNavStep | Navigation step id |
Definition at line 235 of file genimport_main.php.
|
protected |
Checks if any error occured during import and displays them
| object | $oErpImport | Import object |
Definition at line 298 of file genimport_main.php.
|
protected |
Deletes uploaded csv file from temp directory
Definition at line 160 of file genimport_main.php.
|
protected |
|
protected |
Get columns names from CSV file header. If file has no header returns default columns names Column 1, Column 2..
Definition at line 174 of file genimport_main.php.
|
protected |
|
protected |
Get first row from uploaded CSV file
Definition at line 203 of file genimport_main.php.
|
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 273 of file genimport_main.php.
|
protected |
Resets CSV parameters stored in session
Definition at line 220 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 71 of file genimport_main.php.
|
private |
| string | $sInvalidData |
Definition at line 347 of file genimport_main.php.
|
protected |
Definition at line 28 of file genimport_main.php.
|
protected |
Definition at line 56 of file genimport_main.php.
|
protected |
Definition at line 49 of file genimport_main.php.
|
protected |
Definition at line 42 of file genimport_main.php.
|
protected |
Definition at line 35 of file genimport_main.php.
|
protected |
Definition at line 63 of file genimport_main.php.
| GenImport_Main::$sClassDo = "genImport_do" |
Definition at line 14 of file genimport_main.php.
| GenImport_Main::$sClassMain = "genImport_main" |
Definition at line 21 of file genimport_main.php.