public static function fetchContacts($list, $contacts)
 {
     $request = new RelateIQRequest();
     $contactIds = array();
     if (is_array($contacts)) {
         foreach ((array) $contacts as $contact) {
             $contactIds[] = is_object($contact) ? $contact->id : $contact;
         }
     } else {
         $contactIds[] = is_object($contacts) ? $contacts->id : $contacts;
     }
     $listItems = self::handleResponse($list, $request->newGet('lists/' . $list->id . '/listitems/?_ids=' . implode(',', $contactIds)));
     return $listItems;
 }
 public static function fetchAll()
 {
     $request = new RelateIQRequest();
     $contact = self::handleResponse($request->newGet('lists'));
     return $contact;
 }