OXID eShop CE  4.9.7
 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 38 of file oxarticleexception.php.

oxArticleException::getProductId ( )

Faulty product id

Returns
string

Definition at line 58 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 69 of file oxarticleexception.php.

oxArticleException::getValues ( )

Override of oxException::getValues()

Returns
array

Reimplemented from oxException.

Reimplemented in oxOutOfStockException.

Definition at line 80 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

Definition at line 28 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

Definition at line 48 of file oxarticleexception.php.

Member Data Documentation

oxArticleException::$_sArticleNr = null
protected

Definition at line 14 of file oxarticleexception.php.

oxArticleException::$_sProductId = null
protected

Definition at line 21 of file oxarticleexception.php.


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