Order_Article Class Reference

Inheritance diagram for Order_Article:

Inheritance graph
[legend]
Collaboration diagram for Order_Article:

Collaboration graph
[legend]

List of all members.


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.


Public Member Functions

 render ()
 getEditObject ()
 getSearchProductArtNr ()
 getSearchProduct ()
 getMainProduct ()
 getProductList ()
 addThisArticle ()
 deleteThisArticle ()
 storno ()
 updateOrder ()

Protected Attributes

 $_oSearchProduct = null
 $_oSearchProductList = null
 $_oMainSearchProduct = null
 $_oEditObject = null

Member Function Documentation

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 47 of file order_article.php.

Order_Article.getEditObject (  ) 

Returns editable order object

Returns:
oxorder

Definition at line 63 of file order_article.php.

Order_Article.getSearchProductArtNr (  ) 

Returns user written product number

Returns:
string

Definition at line 78 of file order_article.php.

Order_Article.getSearchProduct (  ) 

If possible returns searched/found oxarticle object

Returns:
oxarticle | false

Definition at line 88 of file order_article.php.

Order_Article.getMainProduct (  ) 

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

Returns:

Definition at line 110 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 137 of file order_article.php.

Order_Article.addThisArticle (  ) 

Adds article to order list.

Returns:
null

Definition at line 162 of file order_article.php.

Order_Article.deleteThisArticle (  ) 

Removes article from order list.

Returns:
null

Definition at line 190 of file order_article.php.

Order_Article.storno (  ) 

Cancels order item

Returns:
null

Definition at line 216 of file order_article.php.

Order_Article.updateOrder (  ) 

Updates order articles stock and recalculates order

Returns:
null

Definition at line 256 of file order_article.php.


Member Data Documentation

Order_Article.$_oSearchProduct = null [protected]

Definition at line 15 of file order_article.php.

Order_Article.$_oSearchProductList = null [protected]

Definition at line 24 of file order_article.php.

Order_Article.$_oMainSearchProduct = null [protected]

Definition at line 31 of file order_article.php.

Order_Article.$_oEditObject = null [protected]

Definition at line 38 of file order_article.php.


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

Generated on Mon Oct 26 20:09:31 2009 for OXID eShop CE by  doxygen 1.5.5