OXID eShop CE  4.8.11
 All Classes Files Functions Variables Pages
oxarticleexception.php
Go to the documentation of this file.
1 <?php
2 
7 {
13  protected $_sArticleNr = null;
14 
20  protected $_sProductId = null;
21 
29  public function setArticleNr($sArticleNr)
30  {
31  $this->_sArticleNr = $sArticleNr;
32  }
33 
39  public function getArticleNr()
40  {
41  return $this->_sArticleNr;
42  }
43 
51  public function setProductId( $sProductId )
52  {
53  $this->_sProductId = $sProductId;
54  }
55 
61  public function getProductId()
62  {
63  return $this->_sProductId;
64  }
65 
72  public function getString()
73  {
74  return __CLASS__ .'-'.parent::getString()." Faulty Article --> ".$this->_sArticleNr . "\n";
75  }
76 
77 
83  public function getValues()
84  {
85  $aRes = parent::getValues();
86  $aRes['articleNr'] = $this->getArticleNr();
87  $aRes['productId'] = $this->getProductId();
88  return $aRes;
89  }
90 }