public function fetchResult() { $rows = array(); while (($row = $this->fetch()) != false) { $rows[] = $row; } return $rows; }