public function setIteratorFilter($mask = 0, $filter = null)
    {
        $this->_filter = array();

        if ($mask) {
            $this->_filter['mask'] = $mask;
        }

        if (!is_null($filter)) {
            $rfc822 = new Horde_Mail_Rfc822();
            $this->_filter['filter'] = $rfc822->parseAddressList($filter);
        }
    }
public function setIteratorFilter($mask = 0, $filter = null)
    {
        $this->_filter = array();

        if ($mask) {
            $this->_filter['mask'] = $mask;
        }

        if (!is_null($filter)) {
            $rfc822 = new Horde_Mail_Rfc822();
            $this->_filter['filter'] = $rfc822->parseAddressList($filter);
        }
    }
public function setIteratorFilter ( $ mask = 0 , $ filter = null ) { $ this -> _filter = array ( ) ; if ( $ mask ) { $ this -> _filter [ 'mask' ] = $ mask ; } if ( ! is_null ( $ filter ) ) { $ rfc822 = new Horde_Mail_Rfc822 ( ) ; $ this -> _filter [ 'filter' ] = $ rfc822 -> parseAddressList ( $ filter ) ; } }
Set the Iterator filter.

@param integer $mask  Filter masks.
@param mixed $filter  An e-mail, or as list of e-mails, to filter by.
Set the Iterator filter .