add in-code documentation
authoreileen <eileen@fuzion.co.nz>
Wed, 10 Apr 2013 02:37:19 +0000 (14:37 +1200)
committereileen <eileen@fuzion.co.nz>
Wed, 10 Apr 2013 02:37:19 +0000 (14:37 +1200)
api/v3/Contact.php

index 0b84bf2d27e4551c71f5aaba98fba00b769f2895..7ccbbfb4730818e17b7053c49afea60bf3132fba 100644 (file)
@@ -142,6 +142,10 @@ function _civicrm_api3_contact_create_spec(&$params) {
     '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',
+  );
 }
 
 /**