6 function price_set_get_example(){
9 'name' => 'default_contribution_amount',
12 $result = civicrm_api( 'price_set','get',$params );
18 * Function returns array of result expected from previous function
20 function price_set_get_expectedresult(){
22 $expectedResult = array(
30 'name' => 'default_contribution_amount',
31 'title' => 'Contribution Amount',
34 'is_quick_config' => '1',
41 return $expectedResult ;
46 * This example has been generated from the API test suite. The test that created it is called
48 * testGetBasicPriceSet and can be found in
49 * http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/PriceSetTest.php
51 * You can see the outcome of the API tests at
52 * http://tests.dev.civicrm.org/trunk/results-api_v3
54 * To Learn about the API read
55 * http://book.civicrm.org/developer/current/techniques/api/
57 * and review the wiki at
58 * http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs
60 * Read more about testing here
61 * http://wiki.civicrm.org/confluence/display/CRM/Testing
63 * API Standards documentation:
64 * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards