OXID eShop CE  4.8.12
 All Classes Files Functions Variables Pages
oxArticleException Class Reference
+ Inheritance diagram for oxArticleException:
+ Collaboration diagram for oxArticleException:

Public Member Functions

 setArticleNr ($sArticleNr)
 getArticleNr ()
 setProductId ($sProductId)
 getProductId ()
 getString ()
 getValues ()
- Public Member Functions inherited from oxException
 __construct ($sMessage="not set", $iCode=0)
 setLogFileName ($sFile)
 getLogFileName ()
 setMessage ($sMessage)
 setRenderer ()
 isRenderer ()
 setNotCaught ()
 isNotCaught ()
 debugOut ()
 setDestination ($sDestination)

Protected Attributes

 $_sArticleNr = null
 $_sProductId = null
- Protected Attributes inherited from oxException
 $_sFileName = 'EXCEPTION_LOG.txt'
 $_blRenderer = false
 $_blNotCaught = false

Detailed Description

Exception base class for an article

Definition at line 6 of file oxarticleexception.php.

Member Function Documentation

oxArticleException::getArticleNr ( )

The article number of the faulty article

Returns
string

Definition at line 39 of file oxarticleexception.php.

oxArticleException::getProductId ( )

Faulty product id

Returns
string

Definition at line 61 of file oxarticleexception.php.

oxArticleException::getString ( )

Get string dump Overrides oxException::getString()

Returns
string

Reimplemented from oxException.

Reimplemented in oxOutOfStockException, oxArticleInputException, and oxNoArticleException.

Definition at line 72 of file oxarticleexception.php.

oxArticleException::getValues ( )

Override of oxException::getValues()

Returns
array

Reimplemented from oxException.

Reimplemented in oxOutOfStockException.

Definition at line 83 of file oxarticleexception.php.

oxArticleException::setArticleNr (   $sArticleNr)

Sets the article number of the article which caused the exception

Parameters
string$sArticleNrArticle who causes the exception
Returns
null

Definition at line 29 of file oxarticleexception.php.

oxArticleException::setProductId (   $sProductId)

Sets the product id of the article which caused the exception

Parameters
string$sProductIdid of product who causes the exception
Returns
null

Definition at line 51 of file oxarticleexception.php.

Member Data Documentation

oxArticleException::$_sArticleNr = null
protected

Definition at line 13 of file oxarticleexception.php.

oxArticleException::$_sProductId = null
protected

Definition at line 20 of file oxarticleexception.php.


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