OXID eShop CE
4.8.10
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
{
17
private
$_sAddress
;
18
24
private
$_sConnectionError
;
25
33
public
function
setAdress
($sAdress)
34
{
35
$this->_sAddress = $sAdress;
36
}
37
43
public
function
getAdress
()
44
{
45
return
$this->_sAddress
;
46
}
47
55
public
function
setConnectionError
( $sConnError )
56
{
57
$this->_sConnectionError = $sConnError;
58
}
59
65
public
function
getConnectionError
()
66
{
67
return
$this->_sConnectionError
;
68
}
69
76
public
function
getString
()
77
{
78
return
__CLASS__ .
'-'
.
parent::getString
().
" Connection Adress --> "
.$this->_sAddress.
"\n"
.
"Connection Error --> "
.
$this->_sConnectionError
;
79
}
80
86
public
function
getValues
()
87
{
88
$aRes =
parent::getValues
();
89
$aRes[
'adress'
] = $this->
getAdress
();
90
$aRes[
'connectionError'
] = $this->
getConnectionError
();
91
return
$aRes;
92
}
93
}
core
exception
oxconnectionexception.php
Generated by
1.8.1.2