Ejemplo n.º 1
0
 protected function LastError()
 {
     if (isset($this->lastException)) {
         return $this->lastException->getMessage();
     } else {
         return parent::LastError();
     }
 }
Ejemplo n.º 2
0
 protected function LastError()
 {
     if ($this->queryResult) {
         $errorArray = oci_error($this->queryResult);
     } else {
         $errorArray = parent::LastError();
     }
     return $errorArray['message'];
 }