public function fetchEach($strKey)
{
$this->reset();
$arrReturn = array();
while (($arrRow = $this->fetchAssoc()) !== false) {
if ($strKey != 'id' && isset($arrRow['id'])) {
$arrReturn[$arrRow['id']] = $arrRow[$strKey];
} else {
$arrReturn[] = $arrRow[$strKey];
}
}
return $arrReturn;
}