id; } } /** * Delete an existing Phone. * * @param array $params * Array per getfields metadata. * * @return array * Api Result */ function civicrm_api3_phone_delete($params) { return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params); } /** * civicrm_api('Phone','Get') to retrieve one or more phones is implemented by * function civicrm_api3_phone_get ($params) into the file Phone/Get.php * Could have been implemented here in this file too, but we moved it to illustrate the feature with a real usage. */