/**
  * Get a list of contact handles available
  *
  * @param string $surname Surname to limit the number of records in the list
  *
  * @return array|bool List of all contact matching the $surname search criteria
  *
  * @throws Api_Odr_Exception
  */
 public function getContactList($surname = '')
 {
     if (!$this->_checkLogin()) {
         return false;
     }
     $filter = array();
     if ($surname) {
         $filter['full_name'] = $surname;
     }
     try {
         $this->odr->getContacts($filter);
     } catch (Api_Odr_Exception $e) {
         $this->Error[] = $e->getMessage();
         return false;
     }
     $result = $this->odr->getResult();
     if ($result['status'] !== Api_Odr::STATUS_SUCCESS) {
         return $this->parseError($result['response']);
     }
     $contacts = array();
     foreach ($result['response'] as $contact) {
         $contacts[] = array('Handle' => $contact['id'], 'CompanyName' => $contact['name']);
     }
     return $contacts;
 }