X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FGrant.php;h=5239cf8ad7c27215c34148eb85ee52d987c6ff6b;hb=66ea266254f36e0c41bea02df9bf64160fef1a0e;hp=68206b0fd2fdf87e0e6d2fea7464debc966909d5;hpb=1761553f7e28866ef0c0a9f54abbb222487cea5c;p=civicrm-core.git diff --git a/api/v3/Grant.php b/api/v3/Grant.php index 68206b0fd2..5239cf8ad7 100644 --- a/api/v3/Grant.php +++ b/api/v3/Grant.php @@ -1,10 +1,9 @@ value pairs. If $params is set - * as null, all grants will be returned + * @param array $params + * Array per getfields metadata. * - * @return array Array of matching grants - * {@getfields grant_get} - * @access public + * @return array + * Array of matching grants */ function civicrm_api3_grant_get($params) { return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, TRUE, 'Grant'); } /** - * delete an existing grant - * - * This method is used to delete any existing grant. id of the group - * to be deleted is required field in $params array + * This method is used to delete an existing Grant. * - * @param array $params array containing id of the group - * to be deleted + * @param array $params + * Id of the Grant to be deleted is required. * - * @return array API Result Array - * {@getfields grant_delete} - * @access public + * @return array + * API Result Array */ function civicrm_api3_grant_delete($params) { return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params); } -