OXID eShop CE
4.9.5
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Pages
oxarticleexception.php
Go to the documentation of this file.
1
<?php
2
6
class
oxArticleException
extends
oxException
7
{
8
14
protected
$_sArticleNr
= null;
15
21
protected
$_sProductId
= null;
22
28
public
function
setArticleNr
($sArticleNr)
29
{
30
$this->_sArticleNr = $sArticleNr;
31
}
32
38
public
function
getArticleNr
()
39
{
40
return
$this->_sArticleNr
;
41
}
42
48
public
function
setProductId
($sProductId)
49
{
50
$this->_sProductId = $sProductId;
51
}
52
58
public
function
getProductId
()
59
{
60
return
$this->_sProductId
;
61
}
62
69
public
function
getString
()
70
{
71
return
__CLASS__ .
'-'
.
parent::getString
() .
" Faulty Article --> "
. $this->_sArticleNr .
"\n"
;
72
}
73
74
80
public
function
getValues
()
81
{
82
$aRes =
parent::getValues
();
83
$aRes[
'articleNr'
] = $this->
getArticleNr
();
84
$aRes[
'productId'
] = $this->
getProductId
();
85
86
return
$aRes;
87
}
88
}
core
exception
oxarticleexception.php
Generated by
1.8.1.2