Public Member Functions

Article_Stock Class Reference

Inheritance diagram for Article_Stock:
Collaboration diagram for Article_Stock:

List of all members.

Public Member Functions

 render ()
 save ()
 addprice ($sOXID=null, $aUpdateParams=null)
 updateprices ()
 deleteprice ()

Detailed Description

Admin article inventory manager. Collects such information about article as stock quantity, delivery status, stock message, etc; Updates information (on user submit). Admin Menu: Manage Products -> Articles -> Inventory.

Definition at line 9 of file article_stock.php.


Member Function Documentation

Article_Stock.addprice ( sOXID = null,
aUpdateParams = null 
)

Adds or updates amount price to article

Parameters:
string $sOXID Object ID
array $aUpdateParams Parameters
Returns:
null

Definition at line 120 of file article_stock.php.

Article_Stock.deleteprice (  ) 

Adds amount price to article

Definition at line 213 of file article_stock.php.

Article_Stock.render (  ) 

Loads article Inventory information, passes it to Smarty engine and returns name of template file "article_stock.tpl".

Returns:
string

Reimplemented from oxAdminDetails.

Definition at line 18 of file article_stock.php.

Article_Stock.save (  ) 

Saves article Inventori information changes.

Reimplemented from oxAdminView.

Definition at line 78 of file article_stock.php.

Article_Stock.updateprices (  ) 

Updates all amount prices for article at once

Definition at line 198 of file article_stock.php.


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