4 Flush all system caches
6 function system_flush_example(){
11 $result = civicrm_api( 'system','flush',$params );
17 * Function returns array of result expected from previous function
19 function system_flush_expectedresult(){
21 $expectedResult = array(
28 return $expectedResult ;
33 * This example has been generated from the API test suite. The test that created it is called
35 * testFlush and can be found in
36 * http://svn.civicrm.org/civicrm/trunk/tests/phpunit/CiviTest/api/v3/SystemTest.php
38 * You can see the outcome of the API tests at
39 * http://tests.dev.civicrm.org/trunk/results-api_v3
41 * To Learn about the API read
42 * http://book.civicrm.org/developer/current/techniques/api/
44 * and review the wiki at
45 * http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+Public+APIs
47 * Read more about testing here
48 * http://wiki.civicrm.org/confluence/display/CRM/Testing
50 * API Standards documentation:
51 * http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards