X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FSurvey.php;h=f270127a2188e9c0bac80df0d2b06afd568ed782;hb=2e66abf8190dde0439f825a12234323404ea49ef;hp=ab7b8ca789edcdd56623c53b80c16da8ee84fe6d;hpb=e01a5ffed559ccb3a64fba29f0ca8964e00d3178;p=civicrm-core.git diff --git a/api/v3/Survey.php b/api/v3/Survey.php index ab7b8ca789..f270127a21 100644 --- a/api/v3/Survey.php +++ b/api/v3/Survey.php @@ -1,8 +1,7 @@ value pairs. If $params is set * as null, all surveys will be returned * - * @return array (referance) Array of matching surveys - * {@getfields survey_get} - * @access public + * @return array + * API result Array of matching surveys */ function civicrm_api3_survey_get($params) { - return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params); + return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, TRUE, 'Survey'); } /** - * delete an existing survey + * Delete an existing survey. * * This method is used to delete any existing survey. id of the group * to be deleted is required field in $params array * - * @param array $params array containing id of the group + * @param array $params + * Array containing id of the group. * to be deleted * - * @return array api result array - * {@getfields survey_delete} - * @access public + * @return array + * api result array */ function civicrm_api3_survey_delete($params) { return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params); } -