OXID eShop CE  4.9.11
 All Classes Files Functions Variables Pages
VoucherSerie_Export Class Reference
+ Inheritance diagram for VoucherSerie_Export:
+ Collaboration diagram for VoucherSerie_Export:

Public Member Functions

 __construct ()
 getDownloadUrl ()
 download ()
 run ()
 exportVouchers ($iStart)
 write ($sLine)
- Public Member Functions inherited from VoucherSerie_Main
 render ()
 save ()
 getStatus ()
 prepareExport ()
 start ()
 getViewId ()
- Public Member Functions inherited from DynExportBase
 createMainExportView ()
 stop ($iError=0)
 nextTick ($iCnt)
 getExportPerTick ()
 setExportPerTick ($iCount)
 removeSid ($sInput)
 shrink ($sInput, $iMaxSize, $blRemoveNewline=true)
 getCategoryString ($oArticle, $sSeparator="/")
 getDefaultCategoryString ($oArticle)
 prepareCSV ($sInput)
 prepareXML ($sInput)
 getDeepestCategoryPath ($oArticle)
 getOneArticle ($iCnt, &$blContinue)
 assureContent ($sInput, $sReplace=null)
- Public Member Functions inherited from oxAdminDetails
 resetNrOfCatArticles ()
 resetNrOfVendorArticles ()
 resetNrOfManufacturerArticles ()
 changeFolder ()
- Public Member Functions inherited from oxAdminView
 init ()
 addGlobalParams ($oShop=null)
 getServiceUrl ($sLangAbbr=null)
 resetContentCache ($blForceReset=null)
 resetCounter ($sCounterType, $sValue=null)
 getNavigation ()
 chshp ()
 resetSeoData ($sShopId)
 getPreviewId ()
 getEditObjectId ()
 setEditObjectId ($sId)
- Public Member Functions inherited from oxView
 setViewParameters ($aParams=null)
 getViewParameter ($sKey)
 setIsCallForCache ($blIsCallForCache=null)
 getIsCallForCache ()
 addTplParam ($sPara, $sValue)
 getBelboonParam ()
 getViewConfig ()
 getTemplateName ()
 setTemplateName ($sTemplate)
 setClassName ($sClassName)
 getClassName ()
 setFncName ($sFncName)
 getFncName ()
 setViewData ($aViewData=null)
 getViewData ()
 getViewDataElement ($sParamId=null)
 setClassLocation ($sClassLocation=null)
 getClassLocation ()
 setThisAction ($sThisAction=null)
 getThisAction ()
 setParent ($oParent=null)
 getParent ()
 setIsComponent ($blIsComponent=null)
 getIsComponent ()
 executeFunction ($sFunction)
 getAdditionalParams ()
 getTrustedShopId ()
 getTSExcellenceId ()
 getCharSet ()
 getShopVersion ()
 getShopEdition ()
 getRevision ()
 getPackageInfo ()
 getShopFullEdition ()
 isDemoVersion ()
 isBetaVersion ()
 isRCVersion ()
 showBetaNote ()
 isDemoShop ()
 showNewsletter ()
 setShowNewsletter ($blShow)
 getShopLogo ()
 setShopLogo ($sLogo)
 getActCategory ()
 setActCategory ($oCategory)
 getCategoryId ()
 setCategoryId ($sCategoryId)
 getErrorDestination ()
 getActionClassName ()
 isConnectedWithFb ()
 getFbUserId ()
 showFbConnectToAccountMsg ()
 isMall ()
 showRdfa ()
 getSidForWidget ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Public Attributes

 $sClassDo = "voucherserie_export"
 $sExportFileType = "csv"
 $iExportPerTick = 1000
- Public Attributes inherited from VoucherSerie_Main
 $sClassDo = "voucherSerie_generate"
- Public Attributes inherited from DynExportBase
 $sClassDo = ""
 $sClassMain = ""
 $sExportPath = "export/"
 $sExportFileType = "txt"
 $sExportFileName = "dynexport"
 $fpFile = null
 $iExportPerTick = 30

Protected Member Functions

 _getExportFileName ()
 _getExportFilePath ()
- Protected Member Functions inherited from VoucherSerie_Main
 _getVoucherSerie ()
- Protected Member Functions inherited from DynExportBase
 _unHtmlEntities ($sInput)
 _getHeapTableName ()
 _generateTableCharSet ($sMysqlVersion)
 _createHeapTable ($sHeapTable, $sTableCharset)
 _getCatAdd ($aChosenCat)
 _insertArticles ($sHeapTable, $sCatAdd)
 _removeParentArticles ($sHeapTable)
 _setSessionParams ()
 _loadRootCats ()
 _findDeepestCatPath ($oArticle)
 _initArticle ($sHeapTable, $iCnt, &$blContinue)
 _setCampaignDetailLink ($oArticle)
- 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

 $_sThisTemplate = "voucherserie_export.tpl"
- Protected Attributes inherited from VoucherSerie_Main
 $_oVoucherSerie = null
 $_sThisTemplate = "voucherserie_main.tpl"
- Protected Attributes inherited from DynExportBase
 $_iExportPerTick = null
 $_sFilePath = null
 $_aExportResultset = array()
 $_sThisTemplate = "dynexportbase.tpl"
 $_aCatLvlCache = null
- 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

Additional Inherited Members

- Static Protected Attributes inherited from oxAdminView
static $_oNaviTree = null
static $_sAuthUserRights = null

Detailed Description

General export class.

Definition at line 6 of file voucherserie_export.php.

Constructor & Destructor Documentation

VoucherSerie_Export::__construct ( )

Calls parent costructor and initializes $this->_sFilePath parameter

Returns
null

Reimplemented from DynExportBase.

Definition at line 42 of file voucherserie_export.php.

Member Function Documentation

VoucherSerie_Export::_getExportFileName ( )
protected

Return export file name

Returns
string

Definition at line 78 of file voucherserie_export.php.

VoucherSerie_Export::_getExportFilePath ( )
protected

Return export file path

Returns
string

Definition at line 94 of file voucherserie_export.php.

VoucherSerie_Export::download ( )

Performs Voucherserie export to export file.

Definition at line 102 of file voucherserie_export.php.

VoucherSerie_Export::exportVouchers (   $iStart)

Writes voucher number information to export file and returns number of written records info

Parameters
int$iStartstart exporting from
Returns
int

Definition at line 159 of file voucherserie_export.php.

VoucherSerie_Export::getDownloadUrl ( )

Returns export file download url

Returns
string

Definition at line 58 of file voucherserie_export.php.

VoucherSerie_Export::run ( )

Does Export

Reimplemented from DynExportBase.

Definition at line 120 of file voucherserie_export.php.

VoucherSerie_Export::write (   $sLine)

writes one line into open export file

Parameters
string$sLineexported line

Reimplemented from DynExportBase.

Definition at line 195 of file voucherserie_export.php.

Member Data Documentation

VoucherSerie_Export::$_sThisTemplate = "voucherserie_export.tpl"
protected

Definition at line 28 of file voucherserie_export.php.

VoucherSerie_Export::$iExportPerTick = 1000

Definition at line 35 of file voucherserie_export.php.

VoucherSerie_Export::$sClassDo = "voucherserie_export"

Definition at line 14 of file voucherserie_export.php.

VoucherSerie_Export::$sExportFileType = "csv"

Definition at line 21 of file voucherserie_export.php.


The documentation for this class was generated from the following file: