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

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

oxOutOfStockException.getRemainingAmount (  ) 

Amount of articles left

Returns:
integer

oxOutOfStockException.getString (  ) 

Get string dump Overrides oxException.getString()

Returns:
string

Reimplemented from oxArticleException.

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.


Member Data Documentation

oxOutOfStockException.$_iRemainingAmount = 0 [private]


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

Generated on Wed Oct 29 23:45:11 2008 for OXID eShop CE by  doxygen 1.5.5