4 /*this demonstrates the use of CustomValue get
6 function custom_value_get_example(){
13 $result = civicrm_api( 'custom_value','get',$params );
19 * Function returns array of result expected from previous function
21 function custom_value_get_expectedresult(){
23 $expectedResult = array(
30 'latest' => 'value 1',
36 'latest' => 'value 3',
64 'latest' => 'value 4',
79 return $expectedResult ;
84 * This example has been generated from the API test suite. The test that created it is called
86 * testGetMultipleCustomValues and can be found in
87 * http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/CustomValueTest.php
89 * You can see the outcome of the API tests at
90 * http://tests.dev.civicrm.org/trunk/results-api_v3
92 * To Learn about the API read
93 * http://book.civicrm.org/developer/current/techniques/api/
95 * and review the wiki at
96 * http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs
98 * Read more about testing here
99 * http://wiki.civicrm.org/confluence/display/CRM/Testing
101 * API Standards documentation:
102 * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards