original_string: function discard_data($parser, $data) {
          if (!$this->errorstarted) {
              // Not interested
              return true;
          }
          $data = trim($data);
          if (isset($this->errorstarted->faultstringstarted) && !empty($data)) {
              $this->remoteerror .= ', message: ' . $data;
          } else if (isset($this->errorstarted->faultcodestarted)) {
              $this->remoteerror = 'code: ' . $data;
              unset($this->errorstarted->faultcodestarted);
          } else if ($data == 'faultCode') {
              $this->errorstarted->faultcodestarted = true;
          } else if ($data == 'faultString') {
              $this->errorstarted->faultstringstarted = true;
          }
          return true;
  
      }
code: function discard_data($parser, $data) {
          if (!$this->errorstarted) {
              // Not interested
              return true;
          }
          $data = trim($data);
          if (isset($this->errorstarted->faultstringstarted) && !empty($data)) {
              $this->remoteerror .= ', message: ' . $data;
          } else if (isset($this->errorstarted->faultcodestarted)) {
              $this->remoteerror = 'code: ' . $data;
              unset($this->errorstarted->faultcodestarted);
          } else if ($data == 'faultCode') {
              $this->errorstarted->faultcodestarted = true;
          } else if ($data == 'faultString') {
              $this->errorstarted->faultstringstarted = true;
          }
          return true;
  
      }
code_tokens: function discard_data ( $ parser , $ data ) { if ( ! $ this -> errorstarted ) { // Not interested return true ; } $ data = trim ( $ data ) ; if ( isset ( $ this -> errorstarted -> faultstringstarted ) && ! empty ( $ data ) ) { $ this -> remoteerror .= ', message: ' . $ data ; } else if ( isset ( $ this -> errorstarted -> faultcodestarted ) ) { $ this -> remoteerror = 'code: ' . $ data ; unset ( $ this -> errorstarted -> faultcodestarted ) ; } else if ( $ data == 'faultCode' ) { $ this -> errorstarted -> faultcodestarted = true ; } else if ( $ data == 'faultString' ) { $ this -> errorstarted -> faultstringstarted = true ; } return true ; }
docstring: Discard the next chunk of character data
  
  This is used for tags that we're not interested in.
  
  @param   mixed   $parser The XML parser
  @param   string  $data   The content of the current tag (1024 byte chunk)
  @return  bool            True
docstring_tokens: Discard the next chunk of character data