oxOutOfStockException Class Reference

Inheritance diagram for oxOutOfStockException:

Inheritance graph
[legend]
Collaboration diagram for oxOutOfStockException:

Collaboration graph
[legend]

List of all members.


Detailed Description

exception class for an article which is out of stock

Definition at line 6 of file oxoutofstockexception.php.


Public Member Functions

 setRemainingAmount ($iRemainingAmount)
 getRemainingAmount ()
 getString ()
 getValues ()

Private Attributes

 $_iRemainingAmount = 0

Member Function Documentation

oxOutOfStockException.setRemainingAmount ( iRemainingAmount  ) 

Sets the amount of the article remaining in stock.

Parameters:
integer $iRemainingAmount Articles remaining in stock
Returns:
null

Definition at line 22 of file oxoutofstockexception.php.

oxOutOfStockException.getRemainingAmount (  ) 

Amount of articles left

Returns:
integer

Definition at line 32 of file oxoutofstockexception.php.

oxOutOfStockException.getString (  ) 

Get string dump Overrides oxException.getString()

Returns:
string

Reimplemented from oxArticleException.

Definition at line 43 of file oxoutofstockexception.php.

oxOutOfStockException.getValues (  ) 

Creates an array of field name => field value of the object. To make a easy conversion of exceptions to error messages possible. Should be extended when additional fields are used! Overrides oxException.getValues()

Returns:
array

Reimplemented from oxArticleException.

Definition at line 56 of file oxoutofstockexception.php.


Member Data Documentation

oxOutOfStockException.$_iRemainingAmount = 0 [private]

Definition at line 13 of file oxoutofstockexception.php.


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

Generated on Wed Apr 22 12:32:05 2009 for OXID eShop CE by  doxygen 1.5.5