584520ce63fbe5f5f77265aeabe346ef55890e05
6 function loc_block_create_example(){
14 $result = civicrm_api( 'loc_block','create',$params );
20 * Function returns array of result expected from previous function
22 function loc_block_create_expectedresult(){
24 $expectedResult = array(
44 return $expectedResult ;
49 * This example has been generated from the API test suite. The test that created it is called
51 * testCreateLocBlock and can be found in
52 * http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/LocBlockTest.php
54 * You can see the outcome of the API tests at
55 * http://tests.dev.civicrm.org/trunk/results-api_v3
57 * To Learn about the API read
58 * http://book.civicrm.org/developer/current/techniques/api/
60 * and review the wiki at
61 * http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs
63 * Read more about testing here
64 * http://wiki.civicrm.org/confluence/display/CRM/Testing
66 * API Standards documentation:
67 * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards