6 function note_get_example(){
8 'entity_table' => 'civicrm_contact',
10 'note' => 'Hello!!! m testing Note',
12 'modified_date' => '2011-01-31',
13 'subject' => 'Test Note',
17 $result = civicrm_api( 'note','get',$params );
23 * Function returns array of result expected from previous function
25 function note_get_expectedresult(){
27 $expectedResult = array(
35 'entity_table' => 'civicrm_contact',
37 'note' => 'hello I am testing Note',
39 'modified_date' => '2012-11-14 16:02:35',
40 'subject' => 'Test Note',
46 return $expectedResult ;
51 * This example has been generated from the API test suite. The test that created it is called
53 * testGet and can be found in
54 * http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/NoteTest.php
56 * You can see the outcome of the API tests at
57 * http://tests.dev.civicrm.org/trunk/results-api_v3
59 * To Learn about the API read
60 * http://book.civicrm.org/developer/current/techniques/api/
62 * and review the wiki at
63 * http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs
65 * Read more about testing here
66 * http://wiki.civicrm.org/confluence/display/CRM/Testing
68 * API Standards documentation:
69 * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards