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