This documentation relates to CiviCRM version 3.2. It's not maintained anymore.
Current version of documentation.

Changes in CiviCRM 2

Skip to end of metadata
Go to start of metadata

This page refers to outdated version of CiviCRM. Check current version of documentation.


Documentation Search


CiviCRM 3.2 Documentation

Support and Participation

Developer Resources


CiviCRM book!

Make sure to check out Understanding CiviCRM as well! You can also support this project by ordering a hard copy.

The method of integrating with the CiviCRM APIs has changed significantly in CiviCRM 2. Until you accomodate for these changes your existing scripts will fail with errors like "Fatal Error: Call to undefined function crm_contact_search() ...".

Initializing CiviCRM

You now must explicitly require the files which contain the API function that you are using (note that some files are found in api/v2/ and others in api/):

New function names

New function names are in the form civicrm_APIFILE_ACTION, see the other API documentation for details. For the most part they have the same arguments. All APIs will now return arrays, no objects to be found.

Labels
  • None

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.