public static function all() { // SQL $sql = "select * from volunteer"; // Execute $rows = DB::select($sql); $volunteers = []; foreach ($rows as $row) { $volunteers[] = Volunteer::createVolunteerFromRow($row); } return $volunteers; }