/** * @param Folder $folder * @return Array */ function &SelectIdMsgAndUidByIdMsgDesc(&$folder) { $outData = array(); if (!$this->_dbConnection->Execute($this->_commandCreator->SelectIdMsgAndUid($folder, $this->Account))) { return $outData; } while ($row = $this->_dbConnection->GetNextRecord()) { $outData[] = array($row->id_msg, $row->uid, $row->flag); } return $outData; }