original_string: protected function _getSeqIds(Horde_Imap_Client_Ids $ids)
      {
          if (!count($ids)) {
              $status = $this->status($this->_selected, Horde_Imap_Client::STATUS_MESSAGES);
              return range(1, $status['messages']);
          } elseif ($ids->sequence) {
              return $ids->ids;
          }
  
          return array_keys(array_intersect($this->_pop3Cache('uidl'), $ids->ids));
      }
code: protected function _getSeqIds(Horde_Imap_Client_Ids $ids)
      {
          if (!count($ids)) {
              $status = $this->status($this->_selected, Horde_Imap_Client::STATUS_MESSAGES);
              return range(1, $status['messages']);
          } elseif ($ids->sequence) {
              return $ids->ids;
          }
  
          return array_keys(array_intersect($this->_pop3Cache('uidl'), $ids->ids));
      }
code_tokens: protected function _getSeqIds ( Horde_Imap_Client_Ids $ ids ) { if ( ! count ( $ ids ) ) { $ status = $ this -> status ( $ this -> _selected , Horde_Imap_Client :: STATUS_MESSAGES ) ; return range ( 1 , $ status [ 'messages' ] ) ; } elseif ( $ ids -> sequence ) { return $ ids -> ids ; } return array_keys ( array_intersect ( $ this -> _pop3Cache ( 'uidl' ) , $ ids -> ids ) ) ; }
docstring: Returns a list of sequence IDs.
  
  @param Horde_Imap_Client_Ids $ids  The ID list.
  
  @return array  A list of sequence IDs.
docstring_tokens: Returns a list of sequence IDs .