original_string: public function decode($data)
      {
          $out = array();
  
          $this->_data = $data;
          $this->_datalen = strlen($data);
          $this->_ptr = 0;
  
          while ($this->_curr() !== false) {
              $this->_rfc822SkipLwsp();
  
              $this->_rfc822ParseMimeToken($param);
  
              if (is_null($param) || ($this->_curr() != '=')) {
                  break;
              }
  
              ++$this->_ptr;
              $this->_rfc822SkipLwsp();
  
              $value = '';
  
              if ($this->_curr() == '"') {
                  try {
                      $this->_rfc822ParseQuotedString($value);
                  } catch (Horde_Mail_Exception $e) {
                      break;
                  }
              } else {
                  $this->_rfc822ParseMimeToken($value);
                  if (is_null($value)) {
                      break;
                  }
              }
  
              $out[$param] = $value;
  
              $this->_rfc822SkipLwsp();
              if ($this->_curr() != ';') {
                  break;
              }
  
              ++$this->_ptr;
          }
  
          return $out;
      }
code: public function decode($data)
      {
          $out = array();
  
          $this->_data = $data;
          $this->_datalen = strlen($data);
          $this->_ptr = 0;
  
          while ($this->_curr() !== false) {
              $this->_rfc822SkipLwsp();
  
              $this->_rfc822ParseMimeToken($param);
  
              if (is_null($param) || ($this->_curr() != '=')) {
                  break;
              }
  
              ++$this->_ptr;
              $this->_rfc822SkipLwsp();
  
              $value = '';
  
              if ($this->_curr() == '"') {
                  try {
                      $this->_rfc822ParseQuotedString($value);
                  } catch (Horde_Mail_Exception $e) {
                      break;
                  }
              } else {
                  $this->_rfc822ParseMimeToken($value);
                  if (is_null($value)) {
                      break;
                  }
              }
  
              $out[$param] = $value;
  
              $this->_rfc822SkipLwsp();
              if ($this->_curr() != ';') {
                  break;
              }
  
              ++$this->_ptr;
          }
  
          return $out;
      }
code_tokens: public function decode ( $ data ) { $ out = array ( ) ; $ this -> _data = $ data ; $ this -> _datalen = strlen ( $ data ) ; $ this -> _ptr = 0 ; while ( $ this -> _curr ( ) !== false ) { $ this -> _rfc822SkipLwsp ( ) ; $ this -> _rfc822ParseMimeToken ( $ param ) ; if ( is_null ( $ param ) || ( $ this -> _curr ( ) != '=' ) ) { break ; } ++ $ this -> _ptr ; $ this -> _rfc822SkipLwsp ( ) ; $ value = '' ; if ( $ this -> _curr ( ) == '"' ) { try { $ this -> _rfc822ParseQuotedString ( $ value ) ; } catch ( Horde_Mail_Exception $ e ) { break ; } } else { $ this -> _rfc822ParseMimeToken ( $ value ) ; if ( is_null ( $ value ) ) { break ; } } $ out [ $ param ] = $ value ; $ this -> _rfc822SkipLwsp ( ) ; if ( $ this -> _curr ( ) != ';' ) { break ; } ++ $ this -> _ptr ; } return $ out ; }
docstring: Decode content parameter data.
  
  @param string $data  Parameter data.
  
  @return array  List of parameter key/value combinations.
docstring_tokens: Decode content parameter data .