return civicrm_api3_create_success($values, $params, 'Contact', 'create');
}
-/*
+/**
* Adjust Metadata for Create action
*
* @param array $params array or parameters determined by getfields
'title' => 'Current Employer',
'description' => 'Name of Current Employer',
);
+ $params['dupe_check'] = array(
+ 'title' => 'Check for Duplicates',
+ 'description' => 'Throw error if contact create matches dedupe rule',
+ );
}
/**
$count = _civicrm_api3_get_using_query_object('contact', $params, $options,1);
return $count;
}
-/*
+
+/**
* Adjust Metadata for Get action
*
* @param array $params array or parameters determined by getfields
$params['tag']['title'] = 'Assigned tags (filter, array)';
}
-/*
+/**
* We are supporting 'showAll' = 'all', 'trash' or 'active' for contact get
* and for getcount
* - hopefully some day we'll come up with a std syntax for the 3-way-boolean of