6 function event_delete_example(){
12 $result = civicrm_api( 'event','delete',$params );
18 * Function returns array of result expected from previous function
20 function event_delete_expectedresult(){
22 $expectedResult = array(
29 return $expectedResult ;
34 * This example has been generated from the API test suite. The test that created it is called
36 * testDelete and can be found in
37 * http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/EventTest.php
39 * You can see the outcome of the API tests at
40 * http://tests.dev.civicrm.org/trunk/results-api_v3
42 * To Learn about the API read
43 * http://book.civicrm.org/developer/current/techniques/api/
45 * and review the wiki at
46 * http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs
48 * Read more about testing here
49 * http://wiki.civicrm.org/confluence/display/CRM/Testing
51 * API Standards documentation:
52 * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards