value pairs. If $params is set * as null, all contact_types will be returned * * @return array (referance) Array of matching contact_types * @access public */ function civicrm_api3_contact_type_get($params) { civicrm_api3_verify_mandatory($params); return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params); } /** * delete an existing contact_type * * This method is used to delete any existing contact_type. id of the group * to be deleted is required field in $params array * * @param array $params (reference) array containing id of the group * to be deleted * * @return array (referance) returns flag true if successfull, error * message otherwise * * @access public */ function civicrm_api3_contact_type_delete($params) { return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params); }