public function rebuild($reset = false) { $this->_cacheid = $this->_sorted = null; if ($reset) { $this->_buidmax = 0; $this->_buids = array(); $this->changed = true; } else { $this->_buildMailbox(); } }