value pairs. If $params is set * as null, all grants will be returned * * @return array (referance) Array of matching grants * {@getfields grant_get} * @access public */ 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 * * @param array $params array containing id of the group * to be deleted * * @return array API Result Array * {@getfields grant_delete} * @access public */ function civicrm_api3_grant_delete($params) { return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params); }