From: eileen Date: Wed, 10 Apr 2013 02:37:19 +0000 (+1200) Subject: add in-code documentation X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0391dc25129dbaaf1c2da3af28dc04a1d876055b;p=civicrm-core.git add in-code documentation --- diff --git a/api/v3/Contact.php b/api/v3/Contact.php index 0b84bf2d27..7ccbbfb473 100644 --- a/api/v3/Contact.php +++ b/api/v3/Contact.php @@ -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', + ); } /**