Commit | Line | Data |
---|---|---|
6a488035 | 1 | <?php |
6a488035 | 2 | |
6a488035 TO |
3 | /** |
4 | * Placeholder function. This should never be called, as it doesn't have any meaning | |
5 | */ | |
6 | function civicrm_api3_entity_create($params) { | |
106a7a3a | 7 | return civicrm_api3_create_error("API (Entity, Create) does not exist Creating a new entity means modifying the source code of civiCRM."); |
6a488035 TO |
8 | } |
9 | ||
10 | /** | |
11 | * Placeholder function. This should never be called, as it doesn't have any meaning | |
12 | */ | |
13 | function civicrm_api3_entity_delete($params) { | |
106a7a3a | 14 | return civicrm_api3_create_error("API (Entity, Delete) does not exist Deleting an entity means modifying the source code of civiCRM."); |
6a488035 TO |
15 | } |
16 | ||
17 | /** | |
18 | * Placeholder function. This should never be called, as it doesn't have any meaning | |
19 | */ | |
20 | function civicrm_api3_entity_getfields($params) { | |
21 | // we return an empty array so it makes it easier to write generic getdefaults / required tests | |
22 | // without putting an exception in for entity | |
23 | return civicrm_api3_create_success(array()); | |
24 | } | |
25 |