示例#1
0
 /**
  * Gets the error message
  * @return string transaction error message (formatted)
  * @access public
  */
 function getErrorMsg()
 {
     $ret_warning = '';
     if (isset($this->noSuccess) && $this->noSuccess != 0) {
         $ret_warning = KT_getResource('MULTIPLE_OPERATIONS_SUCCEDED', 'tNG', array($this->noSuccess));
     }
     if (!$this->getError()) {
         return array($ret_warning, '', '');
     }
     $this->compileError();
     $ret = parent::getErrorMsg();
     $ret[0] .= $ret_warning;
     return $ret;
 }