X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FContactType.php;h=6e4567493b064ec003a8d8d0d96e4a71ade4b578;hb=b0a317143b2c1a6aee3b6bc99ef31532881f652e;hp=79854ecb26ec12cec5eb576324ce4c92bad3cb11;hpb=1de7c5b0182dc54fdfc39c642078a31962dd4257;p=civicrm-core.git diff --git a/api/v3/ContactType.php b/api/v3/ContactType.php index 79854ecb26..6e4567493b 100644 --- a/api/v3/ContactType.php +++ b/api/v3/ContactType.php @@ -1,8 +1,7 @@ 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 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); @@ -77,19 +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 array containing id of the group - * to be deleted - * - * @return array API Result Array + * @param array $params + * [id] * - * @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); } -