6 function custom_value_create_example(){
8 'custom_1' => 'customString',
13 $result = civicrm_api( 'custom_value','create',$params );
19 * Function returns array of result expected from previous function
21 function custom_value_create_expectedresult(){
23 $expectedResult = array(
30 return $expectedResult ;
35 * This example has been generated from the API test suite. The test that created it is called
37 * testCreateCustomValue and can be found in
38 * http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/CustomValueTest.php
40 * You can see the outcome of the API tests at
41 * http://tests.dev.civicrm.org/trunk/results-api_v3
43 * To Learn about the API read
44 * http://book.civicrm.org/developer/current/techniques/api/
46 * and review the wiki at
47 * http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs
49 * Read more about testing here
50 * http://wiki.civicrm.org/confluence/display/CRM/Testing
52 * API Standards documentation:
53 * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards