public function reverse()
{
if (is_array($this->_ids)) {
$this->_ids = array_reverse($this->_ids);
}
}
public function testReverse() { $ids = new Horde_Imap_Client_Ids(array(1, 3, 5)); $ids->reverse(); $this->assertEquals(array(5, 3, 1), $ids->ids); }