6 function grant_delete_example(){
10 'application_received_date' => 'now',
11 'decision_date' => 'next Monday',
12 'amount_total' => '500',
14 'rationale' => 'Just Because',
19 $result = civicrm_api( 'grant','delete',$params );
25 * Function returns array of result expected from previous function
27 function grant_delete_expectedresult(){
29 $expectedResult = array(
36 return $expectedResult ;
41 * This example has been generated from the API test suite. The test that created it is called
43 * testDeleteGrant and can be found in
44 * http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/GrantTest.php
46 * You can see the outcome of the API tests at
47 * http://tests.dev.civicrm.org/trunk/results-api_v3
49 * To Learn about the API read
50 * http://book.civicrm.org/developer/current/techniques/api/
52 * and review the wiki at
53 * http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs
55 * Read more about testing here
56 * http://wiki.civicrm.org/confluence/display/CRM/Testing
58 * API Standards documentation:
59 * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards