X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FContactType.php;h=6e4567493b064ec003a8d8d0d96e4a71ade4b578;hb=b0a317143b2c1a6aee3b6bc99ef31532881f652e;hp=da99127cd9dbca1c8d641d01c5a8b494bfcff4c1;hpb=9ed4c3c05a8b3d0932a18eabe3be878121cb8d19;p=civicrm-core.git diff --git a/api/v3/ContactType.php b/api/v3/ContactType.php index da99127cd9..6e4567493b 100644 --- a/api/v3/ContactType.php +++ b/api/v3/ContactType.php @@ -1,10 +1,9 @@ value pairs. If $params is set - * as null, all contact_types will be returned + * @param array $params + * One or more valid property_name=>value pairs. + * If $params is set as null, all contact_types will be returned * - * @return array (referance) Array of matching contact_types - * @access public + * @return array + * Array of matching contact_types */ function civicrm_api3_contact_type_get($params) { civicrm_api3_verify_mandatory($params); @@ -79,20 +80,17 @@ function civicrm_api3_contact_type_get($params) { } /** - * delete an existing contact_type + * 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 + * @param array $params + * [id] * - * @return array (referance) returns flag true if successfull, error - * message otherwise - * - * @access public + * @return array + * API Result Array */ function civicrm_api3_contact_type_delete($params) { return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params); } -