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

Public Member Functions

 render ()
 save ()
 getStatus ()
 prepareExport ()
 start ()
 getViewId ()
- Public Member Functions inherited from DynExportBase
 __construct ()
 createMainExportView ()
 stop ($iError=0)
 nextTick ($iCnt)
 write ($sLine)
 run ()
 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_generate"
- Public Attributes inherited from DynExportBase
 $sClassDo = ""
 $sClassMain = ""
 $sExportPath = "export/"
 $sExportFileType = "txt"
 $sExportFileName = "dynexport"
 $fpFile = null
 $iExportPerTick = 30

Protected Member Functions

 _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

 $_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

Admin article main voucherserie manager. There is possibility to change voucherserie name, description, valid terms and etc. Admin Menu: Shop Settings -> Vouchers -> Main.

Definition at line 9 of file voucherserie_main.php.

Member Function Documentation

VoucherSerie_Main::_getVoucherSerie ( )
protected

Returns voucher serie object

Returns
oxvoucherserie

Definition at line 114 of file voucherserie_main.php.

VoucherSerie_Main::getStatus ( )

Returns voucher status information array

Returns
array

Definition at line 94 of file voucherserie_main.php.

VoucherSerie_Main::getViewId ( )

Current view ID getter helps to identify navigation position fix for 0003701, passing dynexportbase::getViewId

Returns
string

Reimplemented from DynExportBase.

Definition at line 151 of file voucherserie_main.php.

VoucherSerie_Main::prepareExport ( )

Overriding parent function, doing nothing..

Reimplemented from DynExportBase.

Definition at line 104 of file voucherserie_main.php.

VoucherSerie_Main::render ( )

Executes parent method parent::render(), creates oxvoucherserie object, passes data to Smarty engine and returns name of template file "voucherserie_list.tpl".

Returns
string

Reimplemented from DynExportBase.

Definition at line 40 of file voucherserie_main.php.

VoucherSerie_Main::save ( )

Saves main Voucherserie parameters changes.

Returns
mixed

Reimplemented from oxAdminView.

Definition at line 61 of file voucherserie_main.php.

VoucherSerie_Main::start ( )

Prepares Export

Reimplemented from DynExportBase.

Definition at line 130 of file voucherserie_main.php.

Member Data Documentation

VoucherSerie_Main::$_oVoucherSerie = null
protected

Definition at line 24 of file voucherserie_main.php.

VoucherSerie_Main::$_sThisTemplate = "voucherserie_main.tpl"
protected

Definition at line 31 of file voucherserie_main.php.

VoucherSerie_Main::$sClassDo = "voucherSerie_generate"

Definition at line 17 of file voucherserie_main.php.


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