OXID eShop CE  4.10.2
 All Classes Namespaces Files Functions Variables Pages
oxconnectionexception.php
Go to the documentation of this file.
1 <?php
2 
11 {
12 
18  private $_sAddress;
19 
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  {
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 }