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

Public Member Functions

 nextTick ($iCnt)
 generateVoucher ($iCnt)
 run ()
- Public Member Functions inherited from VoucherSerie_Main
 render ()
 save ()
 getStatus ()
 prepareExport ()
 start ()
 getViewId ()
- Public Member Functions inherited from DynExportBase
 __construct ()
 createMainExportView ()
 stop ($iError=0)
 write ($sLine)
 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 ()
 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_generate"
 $iGeneratePerTick = 100
- 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 Attributes

 $_sThisTemplate = "voucherserie_generate.tpl"
 $_oVoucherSerie = null
 $_iGenerated = false
- 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

- Protected Member Functions inherited from VoucherSerie_Main
 _getVoucherSerie ()
- Static Protected Attributes inherited from oxAdminView
static $_oNaviTree = null
static $_sAuthUserRights = null

Detailed Description

Voucher Serie generator class

Definition at line 7 of file voucherserie_generate.php.

Member Function Documentation

VoucherSerie_Generate::generateVoucher (   $iCnt)

Generates and saves vouchers. Returns number of saved records

Parameters
int$iCntvoucher counter offset
Returns
int saved record count

Definition at line 68 of file voucherserie_generate.php.

VoucherSerie_Generate::nextTick (   $iCnt)

Generates vouchers by offset iCnt

Parameters
integer$iCntvoucher offset
Returns
bool

Reimplemented from DynExportBase.

Definition at line 52 of file voucherserie_generate.php.

VoucherSerie_Generate::run ( )

Runs voucher generation

Reimplemented from DynExportBase.

Definition at line 96 of file voucherserie_generate.php.

Member Data Documentation

VoucherSerie_Generate::$_iGenerated = false
protected

Definition at line 43 of file voucherserie_generate.php.

VoucherSerie_Generate::$_oVoucherSerie = null
protected

Definition at line 36 of file voucherserie_generate.php.

VoucherSerie_Generate::$_sThisTemplate = "voucherserie_generate.tpl"
protected

Definition at line 29 of file voucherserie_generate.php.

VoucherSerie_Generate::$iGeneratePerTick = 100

Definition at line 22 of file voucherserie_generate.php.

VoucherSerie_Generate::$sClassDo = "voucherserie_generate"

Definition at line 15 of file voucherserie_generate.php.


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