function getAllUsers(){ $users = array(); while($arr = $this->db->getArray("get-authorized-users")){ $users[] = $arr; } return ($users); }