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;
    }
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;
    }
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 ; }
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.
Helper function to parse a parameters - like tokenized array .