original_string: protected function _parseStructureParams($data)
      {
          $params = array();
  
          if (is_null($data)) {
              return $params;
          }
  
          while (($name = $data->next()) !== false) {
              $params[Horde_String::lower($name)] = $data->next();
          }
  
          $cp = new Horde_Mime_Headers_ContentParam('Unused', $params);
  
          return $cp->params;
      }
code: protected function _parseStructureParams($data)
      {
          $params = array();
  
          if (is_null($data)) {
              return $params;
          }
  
          while (($name = $data->next()) !== false) {
              $params[Horde_String::lower($name)] = $data->next();
          }
  
          $cp = new Horde_Mime_Headers_ContentParam('Unused', $params);
  
          return $cp->params;
      }
code_tokens: protected function _parseStructureParams ( $ data ) { $ params = array ( ) ; if ( is_null ( $ data ) ) { return $ params ; } while ( ( $ name = $ data -> next ( ) ) !== false ) { $ params [ Horde_String :: lower ( $ name ) ] = $ data -> next ( ) ; } $ cp = new Horde_Mime_Headers_ContentParam ( 'Unused' , $ params ) ; return $ cp -> params ; }
docstring: Helper function to parse a parameters-like tokenized array.
  
  @param mixed $data  Message data. Either a Horde_Imap_Client_Tokenize
  object or null.
  
  @return array  The parameter array.
docstring_tokens: Helper function to parse a parameters - like tokenized array .