OXID eShop CE  4.10.7
 All Classes Namespaces Files Functions Variables Pages
Order_Article Class Reference
+ Inheritance diagram for Order_Article:
+ Collaboration diagram for Order_Article:

Public Member Functions

 render ()
 getEditObject ()
 getSearchProductArtNr ()
 getSearchProduct ()
 getMainProduct ()
 getProductList ()
 addThisArticle ()
 deleteThisArticle ()
 storno ()
 updateOrder ()
- Public Member Functions inherited from oxAdminDetails
 resetNrOfCatArticles ()
 resetNrOfVendorArticles ()
 resetNrOfManufacturerArticles ()
 changeFolder ()
- Public Member Functions inherited from oxAdminView
 __construct ()
 init ()
 addGlobalParams ($oShop=null)
 getServiceUrl ($sLangAbbr=null)
 save ()
 resetContentCache ($blForceReset=null)
 resetCounter ($sCounterType, $sValue=null)
 getNavigation ()
 getViewId ()
 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)

Protected Attributes

 $_oSearchProduct = null
 $_oSearchProductList = null
 $_oMainSearchProduct = null
 $_oEditObject = 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 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)
- Static Protected Attributes inherited from oxAdminView
static $_oNaviTree = null
static $_sAuthUserRights = null

Detailed Description

Admin order article manager. Collects order articles information, updates it on user submit, etc. Admin Menu: Orders -> Display Orders -> Articles.

Definition at line 8 of file order_article.php.

Member Function Documentation

Order_Article::addThisArticle ( )

Adds article to order list.

Definition at line 166 of file order_article.php.

Order_Article::deleteThisArticle ( )

Removes article from order list.

Definition at line 190 of file order_article.php.

Order_Article::getEditObject ( )

Returns editable order object

Returns
oxorder

Definition at line 65 of file order_article.php.

Order_Article::getMainProduct ( )

Returns product found by search. If product is variant - returns parent object

Returns
object

Definition at line 113 of file order_article.php.

Order_Article::getProductList ( )

Returns product list containing searchable product or its parent and its variants

Returns
oxlist

Definition at line 143 of file order_article.php.

Order_Article::getSearchProduct ( )

If possible returns searched/found oxarticle object

Returns
oxarticle | false

Definition at line 91 of file order_article.php.

Order_Article::getSearchProductArtNr ( )

Returns user written product number

Returns
string

Definition at line 81 of file order_article.php.

Order_Article::render ( )

Executes parent method parent::render(), creates oxorder and oxvoucherlist objects, appends voucherlist information to order object and passes data to Smarty engine, returns name of template file "order_article.tpl".

Returns
string

Reimplemented from oxAdminDetails.

Definition at line 48 of file order_article.php.

Order_Article::storno ( )

Cancels order item

Definition at line 214 of file order_article.php.

Order_Article::updateOrder ( )

Updates order articles stock and recalculates order

Definition at line 252 of file order_article.php.

Member Data Documentation

Order_Article::$_oEditObject = null
protected

Definition at line 39 of file order_article.php.

Order_Article::$_oMainSearchProduct = null
protected

Definition at line 32 of file order_article.php.

Order_Article::$_oSearchProduct = null
protected

Definition at line 16 of file order_article.php.

Order_Article::$_oSearchProductList = null
protected

Definition at line 25 of file order_article.php.


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