OXID eShop CE
4.9.5
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Pages
oxconnectionexception.php
Go to the documentation of this file.
1
<?php
2
10
class
oxConnectionException
extends
oxException
11
{
12
18
private
$_sAddress
;
19
25
private
$_sConnectionError
;
26
32
public
function
setAdress
($sAdress)
33
{
34
$this->_sAddress = $sAdress;
35
}
36
42
public
function
getAdress
()
43
{
44
return
$this->_sAddress
;
45
}
46
52
public
function
setConnectionError
($sConnError)
53
{
54
$this->_sConnectionError = $sConnError;
55
}
56
62
public
function
getConnectionError
()
63
{
64
return
$this->_sConnectionError
;
65
}
66
73
public
function
getString
()
74
{
75
return
__CLASS__ .
'-'
.
parent::getString
() .
" Connection Adress --> "
. $this->_sAddress .
"\n"
.
"Connection Error --> "
.
$this->_sConnectionError
;
76
}
77
83
public
function
getValues
()
84
{
85
$aRes =
parent::getValues
();
86
$aRes[
'adress'
] = $this->
getAdress
();
87
$aRes[
'connectionError'
] = $this->
getConnectionError
();
88
89
return
$aRes;
90
}
91
}
core
exception
oxconnectionexception.php
Generated by
1.8.1.2