User: jaza Branch: HEAD Date: Fri, 09 Jun 2006 08:49:27 +0000 Added files: /modules/importexportapi/definitions importexportapi_profile.inc Modified files: /modules/importexportapi/definitions importexportapi_user.inc /modules/importexportapi importexportapi.module Log message: - Added hook_export_engines(). The importexportapi module implements this hook by defining two export engines (xml and csv), and their callbacks. - Wrote user profile info definitions. - Added a new type 'freeform', to cater to the freeform list profile type. - Added a 'process' callback for definition fields, to process values just after they get taken from the DB (for export), or just before they get put into the DB (for import). Profile 'value' fields use this callback to transform freeform text into an array. - Made some fairly involved changes to importexportapi_db_get_data() and its helper function, to fix up the referencing system, so that tables other than the primary table get added to the query as a join, if there are fields to be selected from them; and so that joins get properly made using referenced fields. - Added the importexportapi_xml_export() function, which will act as the XML export engine (the plan is to utilise the miniXML library for this). The engine is just a stub at this point. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/importexportapi/de... http://cvs.drupal.org/diff.php?path=contributions/modules/importexportapi/de... http://cvs.drupal.org/diff.php?path=contributions/modules/importexportapi/im...