X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FCampaign.php;h=3f56d470bba711f2a6f3a15569869d51c9eb9019;hb=af3775b322b9e4f11d097067367f0ea7763f5f10;hp=a9b9aa6d8f24a96bb8434b5929d8db3bcf082676;hpb=a922142c067998cb0ffb4cbc95a71aa370ffdc88;p=civicrm-core.git diff --git a/api/v3/Campaign.php b/api/v3/Campaign.php index a9b9aa6d8f..3f56d470bb 100644 --- a/api/v3/Campaign.php +++ b/api/v3/Campaign.php @@ -1,5 +1,4 @@ value pairs. If $params is set - * as null, all campaigns will be returned + * Array per getfields * * @return array * Array of matching campaigns - * @access public - * {@getfields campaign_get} */ function civicrm_api3_campaign_get($params) { return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, TRUE, 'Campaign'); } /** - * delete an existing campaign + * Delete an existing campaign. * - * This method is used to delete any existing campaign. id of the group - * to be deleted is required field in $params array + * This method is used to delete any existing campaign. + * Id of the campaign to be deleted is required field in $params array * * @param array $params - * (reference) array containing id of the group. - * to be deleted + * array containing id of the group to be deleted * * @return array - * (reference) returns flag true if successful, error - * message otherwise - * {@getfields campaign_delete} - * @access public */ function civicrm_api3_campaign_delete($params) { return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);