You are using fetch() which will not return anything but the first row. Try return $this->rowResult=$q->fetchAll(); That will then return an array of the rows into $users which I think is what you were expecting.
You are using fetch() which will not return anything but the first row. Try return $this->rowResult=$q->fetchAll(); That will then return an array of the rows into $users which I think is what you were expecting.