public function parse($value)
    {
        if (!strlen($value)) {
            return;
        }

        $this->_data = $value;
        $this->_datalen = strlen($value);
        $this->_params['validate'] = true;
        $this->_ptr = 0;

        $this->_rfc822SkipLwsp();

        while ($this->_curr() !== false) {
            try {
                $this->ids[] = $this->_parseMessageId();
            } catch (Horde_Mail_Exception $e) {
                break;
            }

            // Some mailers incorrectly insert commas between reference items
            if ($this->_curr() == ',') {
                $this->_rfc822SkipLwsp(true);
            }
        }
    }
public function parse($value)
    {
        if (!strlen($value)) {
            return;
        }

        $this->_data = $value;
        $this->_datalen = strlen($value);
        $this->_params['validate'] = true;
        $this->_ptr = 0;

        $this->_rfc822SkipLwsp();

        while ($this->_curr() !== false) {
            try {
                $this->ids[] = $this->_parseMessageId();
            } catch (Horde_Mail_Exception $e) {
                break;
            }

            // Some mailers incorrectly insert commas between reference items
            if ($this->_curr() == ',') {
                $this->_rfc822SkipLwsp(true);
            }
        }
    }
public function parse ( $ value ) { if ( ! strlen ( $ value ) ) { return ; } $ this -> _data = $ value ; $ this -> _datalen = strlen ( $ value ) ; $ this -> _params [ 'validate' ] = true ; $ this -> _ptr = 0 ; $ this -> _rfc822SkipLwsp ( ) ; while ( $ this -> _curr ( ) !== false ) { try { $ this -> ids [ ] = $ this -> _parseMessageId ( ) ; } catch ( Horde_Mail_Exception $ e ) { break ; } // Some mailers incorrectly insert commas between reference items if ( $ this -> _curr ( ) == ',' ) { $ this -> _rfc822SkipLwsp ( true ) ; } } }
Parse an identification header.

@param string $value  Identification field value to parse.
Parse an identification header .